Gradle GUI

Compatible with:  IntelliJ IDEA Android Studio
44 680
This provides a graphical representation of Gradle projects and tasks and allows execution of Gradle tasks directly within Idea. Frequently-used tasks can be added to the Favorites tab for quicker access. Output is shown in a separate panel allowing the main UI to be vertical and the output to be horizontal. This is the same UI as the UI embedded in Gradle itself. Note: you can assign keyboard shortcuts within Idea to re-execute the last gradle command and to execute gradle favorites. To do so, go to Idea's settings -> Keymap and select Other. In this list find commands prefixed with "Gradle: ". The favorites are keyed off of the display name so it can work across projects as long as their name is the same.

Download plugin

Recent change notes

1.7: Fixing compatibility with Idea 12. Idea was logging exceptions due to icon size changes. This generated excessively large log files. This does not yet address issues with Idea's new darker skin.

General usage instructions

You must specify a Gradle Home (0.9 and above) via Project Settings - then restart.
The Gradle GUI leads to a crash of newly installed IntellijIdea Community Edition 15 To reproduce the problem: 1. Download and install Gradle GUI 2. Create new project of type Gradle/Maven (whatever) 3. At the last step of the wizard you get an error In the Idea logs you get: Caused by: java.lang.ClassNotFoundException: org.jetbrains.plugins.gradle.util.GradleLibraryManager PluginClassLoader[Gradle GUI, 1.7] at at java.lang.ClassLoader.loadClass( ... 56 more OS: OS X, El Capitan, 10.11.2 JVM: (brew installed) Gradle: 2.10 (brew installed) The behavior is the same regardles of ussing wrapper or own gradle installation. Also have an Android Studio installed it works like a charm. Because of this problem the IDE does not work!
"Plugin 'Gradle GUI' failed to initialize and will be disabled. Please restart IntelliJ IDEA. java.lang.NoClassDefFoundError: org/jetbrains/plugins/gradle/util/GradleLibraryManager at org.gradle.ideaplugin.util.GradleUtils.getGradleLibraryManager( at org.gradle.ideaplugin.util.GradleUtils.getGradleSDKDirectory(" ... Caused by: java.lang.ClassNotFoundException: org.jetbrains.plugins.gradle.util.GradleLibraryManager PluginClassLoader[Gradle GUI, 1.7] at at java.lang.ClassLoader.loadClass(" Just installed with IDEA 13.1.3 build 135.863 using Oracle JDK1.8.0_05 on Fedora 20 Linux x86_64, have the JetBrain Gradle plugin enabled.
IDEA will not startup after installing (IDEA 12.0.4). Now I have to figure out how to disable the plugin
Getting the same error as a previous poster: When trying a "gradle build" after fresh intellij start: Can't obtain static method initializeThread from class com.sun.jna.CallbackReference Trying another "gradle build" ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.0.4\jre. That is not the value of my JAVA_HOME environment variable, and I am able to run gradle from commandline. I tried using the "Command Line" tab to execute various tasks, all with the same result. My JAVA_HOME points to a java 6 sdk install; is it expecting 7? Is it flummoxed by spaces in the JAVA_HOME path?
Thankx for developing this great plugin, but please add support for Darkula theme, UI looks awful now.
There is a deadlock of gui components creation during instantiation, see
When trying a "gradle build" after fresh intellij start: Can't obtain static method initializeThread from class com.sun.jna.CallbackReference Trying another "gradle build" ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.1.1\jre JAVA_HOME, GRADLE_HOME, IDEA_JDK are all set correctly.
Thank you so much.

-Ben Doerr
To the person getting the exception: the plugin requires a very recent 0.9 version of gradle. That exception is what's thrown if you're using an earlier version. It'd be nice if it reported a better error message.
throw this exception with version 94.539:org.gradle.openapi.external.ui.AlternateUIInteractionVersion1.doesSupportEditingFiles()Z: org.gradle.openapi.external.ui.AlternateUIInteractionVersion1.doesSupportEditingFiles()Z
java.lang.NoSuchMethodError: org.gradle.openapi.external.ui.AlternateUIInteractionVersion1.doesSupportEditingFiles()Z
at org.gradle.openapi.wrappers.ui.AlternateUIInteractionVersionWrapper.doesSupportEditingFiles(
at org.gradle.gradleplugin.userinterface.swing.generic.tabs.TaskTreeTab.enableThingsAppropriately(
at org.gradle.gradleplugin.userinterface.swing.generic.tabs.TaskTreeTab.createComponent(
at org.gradle.gradleplugin.userinterface.swing.generic.MainGradlePanel.addTabs(
at org.gradle.gradleplugin.userinterface.swing.generic.MainGradlePanel.setupUI(
at org.gradle.gradleplugin.userinterface.swing.generic.MainGradlePanel.aboutToShow(
at org.gradle.gradleplugin.userinterface.swing.generic.AbstractGradleUIInstance.aboutToShow(
at org.gradle.openapi.wrappers.ui.AbstractOpenAPIUIWrapper.aboutToShow(
at org.gradle.ideaplugin.ui.GradlePanelWrapper.extractGradleUI(
at org.gradle.ideaplugin.ui.GradlePanelWrapper.reset(
at org.gradle.ideaplugin.ui.GradlePanelWrapper.initialize(
at org.gradle.ideaplugin.ui.MainGradleComponent.initComponent(
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(
at com.intellij.openapi.components.impl.ComponentManagerImpl.access$1200(
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(
at com.intellij.util.pico.DefaultPicoContainer.getInstance(
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(
at com.intellij.openapi.project.impl.ProjectImpl.init(
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(
at com.intellij.openapi.project.impl.ProjectManagerImpl.access$200(
at com.intellij.openapi.project.impl.ProjectManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl$
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(
at com.intellij.openapi.application.impl.ApplicationImpl$6$
at com.intellij.openapi.application.impl.ApplicationImpl$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$
at com.intellij.openapi.application.impl.ApplicationImpl$1$
it gives me "nothing returned from UI factory" with idea version 94.539, even though gradle is correctly configured and IDEA is restarted.
This is a great plugin which even supports projects using the Gradle wrapper.
Please  sign in  to leave a comment.