[GRADLE-1699] import fails for JavaPlugin in buildSrc Created: 28/Jul/11 Updated: 04/Jan/13 Resolved: 07/Sep/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-4 |
Fix Version/s: | 1.0-milestone-5 |
Type: | Bug | ||
Reporter: | Philip Crotwell | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 3 |
Issue Links: |
|
Description |
Plugins that worked with milestone-3 are failing with milestone-4. I crotwell$ gradle version 1 error FAILURE: Build failed with an exception.
BUILD FAILED Total time: 6.754 secs |
Comments |
Comment by Matthew J. McCullough [ 05/Aug/11 ] |
Also breaks the M2MetadataPlugin: Which was compatible with the codebase partway into the RC4 nightlies... |
Comment by Mark Maxey [ 06/Aug/11 ] |
Everyone may have figured this out by now, but the problem seems to be that the gradleApi() doesn't include gradle-plugins-1.0-milestone-4.jar which contains many necessary classes for plugins, SourceSet, etc. Like others, I've confirmed that my stuff breaks in 4 but works in 3. |
Comment by Yoav Landman [ 07/Aug/11 ] |
Same for the Artifactory plugin (http://wiki.jfrog.org/confluence/display/RTF/Gradle+Artifactory+Plugin) |
Comment by Carl Quinn [ 15/Aug/11 ] |
What's the best workaround until this is fixed? Or, will there be an M5 out soon with a fix? |
Comment by Adam Murdoch [ 15/Aug/11 ] |
A workaround is: dependencies { compile fileTree(dir: "${gradle.gradleHomeDir}/lib/plugins", include: 'gradle*.jar') } We plan to get M5 out as soon as we've fixed the major regressions in M4. |