Importing Project from Gradle Model
To import an external Gradle model into IntelliJ IDEA, follow these steps
- If no project is currently open in IntelliJ IDEA, click Import Project on the Welcome screen. Otherwise, select File | New | Project from Existing Sources.
- In the dialog that opens, select the directory that contains the project to be imported, or a file that contains an appropriate project description. Click OK.
- On the first page of the Import Project wizard, select Gradle, and click Next. (This page is not shown if IntelliJ IDEA has guessed what you are importing.)
- On the next page of the wizard, specify Gradle project settings and global Gradle settings, click Finish.
Note that if you import a multi-module project, you can make a partial import. IntelliJ IDEA displays the Gradle Project Data to Import dialog where you can select modules that you want to include in your project.
Last modified: 5 November 2015