IntelliJ IDEA supports Gradle. In this section:
- Creating a Gradle Project
- Importing Project from Gradle Model
- Working with Gradle Projects
- Creating Gradle Project with Grails Integration
- Synchronizing Changes in Gradle Project and IntelliJ IDEA Project
- Working with Gradle Tasks in Gradle Tool Window
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 it is not, enable the plugin.
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: 12 November 2014