IntelliJ IDEA 2024.1 Help

Gradle-Android compiler

Install the Android plugin

This functionality relies on the Android plugin, which you need to install and enable.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Marketplace tab, find the Android plugin, and click Install (restart the IDE if prompted).

Use this page to specify settings for compiling Android-Gradle projects. For the additional information on the build process, refer to the Android documentation.

Item

Description

Compile independent modules in parallel (may require larger heap size)

Select this checkbox if you need to compile independent modules in parallel.

For more information, refer to decoupled projects.

Command-line Options

Use this field to set Gradle command-line options. For more information, refer to the Gradle command-line options page.

Make project automatically (only works while not running/debugging)

Select this checkbox to automatically make (compile) the project on every save or autosave.

Use in-process build

Select this checkbox to use the Gradle in-build process.

Configure on demand

This checkbox is selected by default. Configuration on demand mode attempts to configure only projects that are relevant for requested tasks. This way, the configuration time of a large multi-project build is greatly improved. For more information, refer to the Gradle configuration on demand page.

Last modified: 11 February 2024