# Gradle plugin for Eclipse?

**URL:** <https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526>\
**Category:** Old Forum Archive\
**Created:** [December 16, 2012, 10:15am UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526 "2012-12-16T10:15:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorenz\_Hahn](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lorenz\_Hahn](https://discuss.gradle.org/u/Lorenz_Hahn)\
**Post date:** [December 16, 2012, 10:15am UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526/1 "2012-12-16T10:15:00Z")

</div>

Is there a eclipse plugin existing to use gradle from the IDE? I saw something like that in the gradle presentation at a tech talk at Immobilienscout24… The build targets known by gradle were visualized in a view and could be executed with a click…

---

<div class="post-metadata">

**Author:** ![carlo\_lf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/carlo_lf/32/1881_2.png) [@carlo\_lf](https://discuss.gradle.org/u/carlo_lf)\
**Post date:** [December 16, 2012, 11:49am UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526/2 "2012-12-16T11:49:00Z")

</div>

Yeah, there is a Gradle plugin for Elipse. It is available from Spring Source as part of their Springsource Toolkit (STS). You don’t need all the stuff from STS, but only Gradle and Groovy support (for syntax checks and propositions of Gradle Scripts). Just do a search for the eclipse update site (do not use the download option for the whole STS).

---

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [December 17, 2012, 6:18am UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526/3 "2012-12-17T06:18:00Z")

</div>

Here is the GitHub page with detailed setup instructions: [https://github.com/SpringSource/eclipse-integration-gradle](https://github.com/SpringSource/eclipse-integration-gradle)

---

<div class="post-metadata">

**Author:** ![Lorenz\_Hahn](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lorenz\_Hahn](https://discuss.gradle.org/u/Lorenz_Hahn)\
**Post date:** [December 30, 2012, 11:57am UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526/4 "2012-12-30T11:57:00Z")

</div>

Thanks for the pointer.

I sucessfully Installed via STS, which lead me to a new eclipse installation. This came as a little surprise, since obvious the gradle funcitonality still was not available in my preferred installation.

I also successfully installed the grails plugin via the second described way by accessing the update site. I can now create a new gradle project, show the the gradle view and perform the build targets.

If someone tries the same, here are two hints: - If Groovy enrtries are disabled due to “because STS is located in ‘C:\Program Files’”, move your eclipse installation to another directory, install the plugin and move your installation back. Updates on the installed packages didn’t show any problems yet. - If you already have a java project with a running build.gradle file and want to enable the gradle functionality, right click on this project in the Package Explorer and select Configure-\>Convert to grails project.

---

<div class="post-metadata">

**Author:** ![carlo\_lf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/carlo_lf/32/1881_2.png) [@carlo\_lf](https://discuss.gradle.org/u/carlo_lf)\
**Post date:** [December 30, 2012, 12:18pm UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526/5 "2012-12-30T12:18:00Z")

</div>

your surely meant “select Configure-\>Convert to Gradle project”…

And: using the STS update site for Eclipse, the whole thing is not such complicated as you described. (Besides, I’d never put any Java installations into “C:\Program Files” or some else directory with spaces inside directory name.)

---

<div class="post-metadata">

**Author:** ![Lorenz\_Hahn](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lorenz\_Hahn](https://discuss.gradle.org/u/Lorenz_Hahn)\
**Post date:** [December 30, 2012, 12:54pm UTC](https://discuss.gradle.org/t/gradle-plugin-for-eclipse/6526/6 "2012-12-30T12:54:00Z")

</div>

“Convert to Gradle project” … yes, sure.

“C:\Program Files” is the internal representation of the path in Windows7. The explorer shows it as “C:\Programme” in a german installation. It is the default path for all applications that come with a installer. So I prefer to also install eclipse there.
