IntelliJ IDEA 2016.2 Help

Importing Project from Gradle Model

To import an external Gradle model into IntelliJ IDEA, follow these steps

  1. If no project is currently open in IntelliJ IDEA, click Import Project on the Welcome screen. Otherwise, select File | New | Project from Existing Sources.
  2. 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.
  3. 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.)
  4. 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.

See Also

Language and Framework-Specific Guidelines:

Last modified: 23 November 2016