I was able to reproduce it. I think that some classes that were a part of gradleApi() dependencies are no longer available. Can you file an issue?
Cheers! Szczepan On Thu, Jul 28, 2011 at 5:06 PM, Philip Crotwell <[email protected]>wrote: > Hi > > Plugins that worked with milestone-3 are failing with milestone-4. I > don't see anything in the breaking changes that would indicate I need > to do anything different in my buildSrc. I do not have a build.gradle > in buildSrc as it used to not be needed. Has something changed? > > thanks, > Philip > > > crotwell$ gradle version > :buildSrc:compileJava UP-TO-DATE > :buildSrc:compileGroovy > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > failed: > /Users/crotwell/dev/seis/buildSrc/src/main/groovy/VersionClass.groovy: > 4: unable to resolve class org.gradle.api.plugins.JavaPlugin > @ line 4, column 1. > import org.gradle.api.plugins.JavaPlugin > ^ > > 1 error > > > FAILURE: Build failed with an exception. > > * What went wrong: > Execution failed for task ':compileGroovy'. > Cause: Forked groovyc returned error code: 1 > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info > or --debug option to get more log output. > > BUILD FAILED > > Total time: 6.754 secs > > > crotwell$ gradle -v > > ------------------------------------------------------------ > Gradle 1.0-milestone-4 > ------------------------------------------------------------ > > Gradle build time: Thursday, July 28, 2011 4:38:22 AM EDT > Groovy: 1.7.10 > Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010 > Ivy: 2.2.0 > JVM: 1.6.0_26 (Apple Inc. 20.1-b02-384) > OS: Mac OS X 10.6.8 i386 > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Szczepan Faber Principal engineer@gradleware Lead@mockito
