IntelliJ IDEA lets you perform a partial import for Gradle multi-module projects.
You can select the data or modules for your partial import using one of the following procedures:
- Importing a Gradle project via project wizard
- Importing a module via project structure
- Importing a module via Gradle tool window
Importing a gradle project via project wizard
- Perform steps that are described in the Importing Project from Gradle Model topic.
- When Gradle Project Data to Import Dialog opens, select modules or data that you want to import and click OK.
Importing a module via project structure
- Open the Project Structure dialog.
- On the Module Page, click
icon and select
Import Module. - In the dialog that opens, select a module you want to import and click OK.
- In the Select Project Data to Import dialog, select modules or data that you want to include in your project and click OK.
Importing a module via gradle tool window
- In the Gradle tool window, on the toolbar, click
icon. - In dialog that opens select modules that you want to include in your project and click OK.