From Eclipse, use pulldown menu Run / External Tools / External Tools Configurations…
Select “Program” in left navigator panel then click the “New launch configuration” button in the tool bar (first button in my tool bar).
With Main tab selected, fill out the following fields:
- Name: (above the tabs) to "Gradle" (or whatever name you want for the launcher).
- Location: Use "Browse File System..." button to navigate to your "gradle.bat" or "gradlew.bat" to run.
- Working Directory: Use "Browse Workspace..." button to select directory with the "build.gradle" file for the desired project.
- Arguments: Enter "--gui"
Add to Arguments: the switch “-b filename.gradle” if you use a Gradle build file other than “build.gradle”.
After this, you can use the Run / External Tools or tool bar button to launch the Gradle Gui. You can do this and close it after each use, or (to avoid startup lag), minimize it when not in use.