IntelliJ IDEA supports Gradle. In this section:
Before you start working with Gradle files, make sure that:
- Gradle is downloaded and installed on your computer.
- IntelliJ IDEA supports Gradle SDK version 1.2. and later.
- Gradle plugin is enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
Gradle files are marked with icon.
Gradle support includes:
- ability to deduce Gradle home from the environment variables, or configure Gradle home in IntelliJ IDEA.
ability to edit
.gradlefiles. So doing, the initial coding assistance, provided by IntelliJ IDEA, is the same as for Groovy.
- ability to import projects from the existing Gradle models. So doing, IntelliJ IDEA downloads all the necessary dependencies.
- Dedicated Gradle tool window.
- ability to synchronize structures of Gradle and IntelliJ IDEA projects.
- Running Gradle scripts with the Groovy run/debug configuration.
Last modified: 13 July 2016