Eclipse

Eclipse


 While there is no plugins that support gradle yet, it is very easy to integrate with eclipse as an external tool.

1) Go to menu:  Run -> External Tools -> External Tools Configurations

2) Select Program and click on the new page icon, to create a new  configuration

3) Name: Enter a name, like Gradle

4) Location: Enter the path to the gradle bin file, ie: /media/store/utils/gradle/bin/gradle  or c:\tools\gradle\bin\gradle.exe

5) Working Directory: enter ${project_loc} This will run gradle from the directory of the current selected project (at the time of execution) when this configuration is run.

6) Arguments: ${string_prompt} This will prompt for a gradle task name when executed.


 

To run gradle, just select a project and then click on the new run configuration. It will give a popup for the gradle task name and the gradle output will appear in the eclipse console. The External Tools can also be reached from the default eclipse toolbar. 

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.