Otherwise, select File | Open from the main menu. If no project is currently opened in IntelliJ IDEA, click Open on the welcome screen. To fix the issue, disable the offline mode and re-import your project. If you have the offline mode enabled in your project, the opening or re-importing of the project might fail. IntelliJ IDEA creates a Gradle project with the dedicated Gradle tool window and adds necessary dependencies.įor the more detailed information, refer to Tutorial: Your first Java EE application. Under the Generators section, select Java Enterprise.Ĭonfigure your project selecting the appropriate options such as your project's name, location, language, and select Gradle as your build tool. By default, this field is specified automatically.įor more information on Maven coordinates, see Maven naming conventions.Ĭreate a Java EE project with Gradle as a build tool You can omit this field if you plan to deploy your project locally.ĪrtifactId - artifactId that is added as a name of your new project. The fields you specify are added to the adle file. These settings might be helpful if you decide to deploy your project to a Maven repository. In Advanced Settings, specify the fields which resemble the Maven coordinates. You can select Groovy for traditional syntax or Kotlin as an alternative. Select Add sample code if you want your project to have a file with a basic code sample. The Gradle project sync will wait until the JDK is downloaded. If you don't have a JDK on your machine, IntelliJ IDEA can quickly download the JDK for you. Specify project's SDK (JDK) or use the default one. Select Gradle in the list of Build system. Click if you want to add other languages available via plugins. Select a language that you want to use in your project. You will be able to do it later at any time. Select the Create Git repository to place the new project under version control. Name the new project and change its location if necessary. Otherwise, select File | New | Project from the main menu. If no project is currently opened in IntelliJ IDEA, click New Project on the welcome screen. For more information, refer to the WSL section. You can also create a Gradle project and store it in the WSL environment or open it from the WSL file system. You can easily create a new Gradle project, open and sync an existing one, work with several linked projects simultaneously, and manage them. IntelliJ IDEA supports a fully-functional integration with Gradle that helps you automate your building process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |