Eclipse Foundation Member
Buildship Gradle Integration Eclipse Project

Add this URL to your Eclipse Installation to reach this solution's update site.

2018-09 (4.9)
Photon (4.8)
Oxygen (4.7)


Neon (4.6)


Mars (4.5)


Luna (4.4)


Kepler (4.3)


Juno (4.2, 3.8)


Learn more...

Details Group Tabs

Monday, October 22, 2018 - 02:01
hmisingnamepo0's picture

The Import was failing because even though the exact same project was building with the exact same gradle version outside of Eclipse/Buildship, it was failing during Import because Import doesn't call Gradle from within the root project folder. I made my script more robust by not requiring this, but I don't think I should have.

hmisingnamepo0's picture

Perfectly good project building with gradle 4.10.2, recent Eclipse (Oxygen) and Import with "Specific gradle version = 4.10.2" fails with error "Could not fetch model of type "GradleBuild'" even though the binary is there and I just wget it.

mkeuchen's picture

After installing "Buildship Gradle Integration", when trying to update Eclipse, I got the following error messages:
- "JDT Core patch for Groovy-Eclipse plugin on Eclipse 4.5" is not applicable to the current configuration and will not be installed.
- An internal error occurred during: "Searching alternate solutions...": org.codehaus.groovy.eclipse 2.9.2.xx-201608111527-e45 is unknown in the solver!

This is strange because
(a) I'm running Eclipse 4.6 Neon; why does it want to install a patch for Eclipse 4.5?
(b) The "buildship gradle" plugin does not have any requirements named; why is it then searching for groovy-eclipse?

I 'fixed' this by installing the "groovy-eclipse" plugin for Eclipse 4.6 Neon. Unfortunately, there is no groovy-eclipse plugin for Neon available on the marketplace. To install it nonetheless, do this:
- add a software site: "groovy-eclipse for eclipse 4.6"=dist.springsource.org/snapshot/GRECLIPSE/e4.6/ (for eclipse 4.5 mars, use dist.springsource.org/snapshot/GRECLIPSE/e4.5/)
- from the software site, install at least "Groovy-Eclipse Feature" and "JDT Core patch for Grooy-Eclipse plugin on Eclipse 4.6"
(See https://marketplace.eclipse.org/comment/3749#comment-3749)

My current status:
- No error messages on Eclipse updates
- Instead, on updates, eclipse wants to update "JDT Core patch for Grooy-Eclipse plugin on Eclipse 4.6" to version "2.9.2-xx-201608111517-e46". But that version is already installed.

estuder's picture

Please post your question in the Buildship forum:
https://discuss.gradle.org/c/help-discuss/buildship

lmanius's picture

Needs a "Configure->Convert to Gradle Project" option like most similar plugins have. If you want to convert a pre existing Eclipse project to a Gradle project, or check out from an SVN/Git repo and your client doesn't let you use the new project wizard for a Gradle import, it seems like you're kinda hosed...

estuder's picture

Please post your feature request in Bugzilla:
https://bugs.eclipse.org/bugs/buglist.cgi?product=Buildship

jsantos7nw's picture

Stable plugin, need just more funcionalities. Please, came soon new versions.