New Features for Gradle Coming in IntelliJ IDEA 14.1

Gradle becomes more and more popular, and so we’re improving its IntelliJ IDEA integration. If you’ve already tried IntelliJ IDEA 14.1 EAP, you might have noticed the changes in the Gradle tool window.

First of all, in addition to the list of tasks you now can also see project dependencies along with their scope:


Here you can notice that the tasks are now grouped by their type for easier access. To disable grouping, use the Gear icon in the corner.

Another new feature is that now you can tell IntelliJ IDEA to run any task before or after project synchronization, make or rebuild. This may be very useful if you don’t want to run a task every time manually.


And what even more exciting is that now you can assign your own shortcuts to any task so that you can invoke it by a simple key press

If you want to run a custom Gradle command, use the new corresponding button on the toolbar:


For those who’d like to work with Gradle projects in the offline mode (without an Internet connection), we’ve added the corresponding option to the toolbar.

Last, but not least, improvement is that now you can choose a JVM for running Gradle on behalf of. By default it’s set to the project JDK, but you can change it in Settings:


We hope you’ll like the new features. To give them a try, download the latest IntelliJ IDEA 14.1 EAP build.

We look forward to your feedback in our discussion forum and in the issue tracker.

Develop with Pleasure!

Comments below can no longer be edited.

9 Responses to New Features for Gradle Coming in IntelliJ IDEA 14.1

  1. Avatar

    Artiom says:

    March 6, 2015

    This is great! I’m finding IntelliJ really good for Android development and stuff like this makes Gradle easier to work with.

  2. Avatar

    Frits Stegmann says:

    March 6, 2015

    Finally found a reason to update my license from Intellij 12.

  3. Avatar

    Daniel says:

    March 18, 2015

    Is it possible to add better code completion for the Gradle editor? As a newbie in gradle, it’s hard for me to say which piece of code is available at which position.

  4. Avatar

    alex says:

    March 23, 2015

    If I want to have gradle support for my java project using Idea 14.0.3 I follow the advice on this page:


    “On the first page of the wizard, in the left-hand pane, select Gradle. In the right-hand part of the page, specify the JDK that you are going to use. Specify the Gradle settings:”

    The wizard is entirely empty. Clicking next lets me specify module name, content root and module file location but that’s it. It goes on to refer to several other options, all missing.

    I have gradle 2.3 installed and the gradle bin folder in the path. The IDEA prerequisites says:

    > IntelliJ IDEA supports Gradle SDK version 1.2. and later.

    Where do I find the Gradle SDK? Does such a thing actually exist?

    • Avatar

      Vladislav Soroka says:

      April 13, 2015

      If you want to create a gradle project from scratch, try :
      for IDEA 14.0.x – File | New Project | Gradle | Next …
      for IDEA 14.1 – File | New | Project | Gradle | Next …
      If you want to import existing project:
      for IDEA 14.0.x – File | Import Project | Select your project build.gradle file | …
      for IDEA 14.1 – File | Open | Select your project build.gradle file | …

      >> I have gradle 2.3 installed and the gradle bin folder in the path.
      You can select you local gradle installation path during the project import, see detail at Import Project from Gradle. Page 1

  5. Avatar

    Artem says:

    April 7, 2015

    Idea 14.x is not working with gradle.
    I’m using fedora and I can not:
    – import project from gradle
    – have sbt and gradle-based modules in one project.

    It’s just crazy.

  6. Avatar

    Alan says:

    April 16, 2015

    My context menu does not have Create…, Run…, or Debug…
    I’m a newbie to Gradle.

  7. Avatar

    shnplr says:

    October 19, 2015

    The dependencies section is great!
    How about option to show which tasks are run by other tasks like gradle tasks –all
    And also if possible to show from which plugin a task originates

Discover more