Closed jimsimon closed 10 years ago
I am assuming that you are using a relatively old version of Gradle. Is that correct? You will highly like have to upgrade your Gradle version to be able to use the current version of the plugin. For more information see issue #29.
I'm running the script via the Gradle plugin for Eclipse: http://marketplace.eclipse.org/content/gradle-integration-eclipse?mpc=true&mpc_state=
I"m using a Gradle run configuration within Eclipse to actually run Gradle.
It looks like the Gradle Eclipse plugin comes with Gradle 1.5, which as you said is fairly old.
I downgraded to version 0.6.2 of the plugin and it appears to be working now, so this does appear to be a conflict with the Eclipse tooling's version of Gradle.
I personally don't use the Eclipse integration for Gradle but I can't imagine that it determine the Gradle runtime version for your build script. The version required by your build should be the Gradle Wrapper you choose to use and not the one provided by the IDE. I would go with SpringSource STS which has Gradle integration out-of-the-box.
I am going to close this issue as this is not an problem with the plugin.
The one I'm using is actually the SpringSource STS integration packaged as a standalone plugin: https://github.com/spring-projects/eclipse-integration-gradle.
Digging into the plugin options, it appears that you can override the built-in gradle runtime with your own, so I'll probably explore that route.
Thanks for the help!
Entire build file:
Debug output:
Let me know if you need any more details.