Import Project from Gradle. Page 1
Item | Description |
---|---|
Gradle project | Specify the address of the build.gradle file of the project you want to import. Type the path manually, or click the browse button and locate the desired file in the file chooser dialog. |
Create directories for empty content roots automatically | Select this option to add a src directory to your project automatically when you import a project from Gradle model. |
Create separate module per source set | Select this check box to use the source set feature in resolving your Gradle projects. |
Use default gradle wrapper (not configured for the current project) | Select this option to use Gradle wrapper. Using Gradle wrapper lets you get automatic Gradle download for the build. It also lets you build with the precise Gradle version. |
Use customizable gradle wrapper | Select this option to configure a Gradle wrapper inside your build.gradle file. In this case IntelliJ IDEA ensures that the configured customizable wrapper settings are used for working with Gradle. |
Use local gradle distribution | Select this option to run local build scripts. |
Gradle home | By default, IntelliJ IDEA displays the path to the Gradle installation, as defined in the GRADLE_HOME environment variable, or specified as the Gradle home project setting. If the path is unknown, or you want to use a different Gradle installation, click the browse button and locate the desired directory in the path chooser dialog. |
Project format | Select the format in which you want to store your project. For the details on the two available formats, refer to the About Projects section. |
Global Gradle Settings | Use this area to set global Gradle settings. You can select from the following options:
|
See Also
Last modified: 18 July 2017