You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by Renan DelValle <rd...@binghamton.edu> on 2014/08/05 04:33:22 UTC

Gradle 2.3.3

Hi,

I'm trying to build Aurora as the instructions indicate but it runs into an
error.

I'm running the latest Gradle available from their website (2.0) which
includes Groovy 2.3.3 which seems to be the source of the issue. I'm trying
to compile version 0.5.0-RC2.

Here's the error:

* What went wrong:

Could not compile build file
'/home/test/apache-aurora-0.5.0-rc2-incubating/build.gradle'.

> startup failed:

  Could not instantiate global transform class
org.spockframework.compiler.SpockTransform specified at
jar:file:/home/test/.gradle/caches/modules-2/files-2.1/org.spockframework/spock-core/0.7-groovy-1.8/3a677d19e8d3acf3bd296c4023356256d55da5a3/spock-core-0.7-groovy-1.8.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation
because of exception
org.spockframework.util.IncompatibleGroovyVersionException: The Spock
compiler plugin cannot execute because Spock 0.7.0-groovy-1.8 is not
compatible with Groovy 2.3.3. For more information, see
http://versioninfo.spockframework.org

  Spock location:
file:/home/test/.gradle/caches/modules-2/files-2.1/org.spockframework/spock-core/0.7-groovy-1.8/3a677d19e8d3acf3bd296c4023356256d55da5a3/spock-core-0.7-groovy-1.8.jar

  Groovy location: file:/home/test/gradle-2.0/lib/groovy-all-2.3.3.jar


Any help is greatly appreciated.


-Renan

Re: Gradle 2.3.3

Posted by Bill Farner <wf...@apache.org>.
Several of the gradle plugins we use do not yet support gradle 2.x.  We've
set up our repository to bootstrap gradle with gradle's wrapper tool,
though, so you'll want to use ./gradlew rather than a system-installed
gradle.  More on this in our docs [1].

[1]
https://github.com/apache/incubator-aurora/blob/master/docs/deploying-aurora-scheduler.md#creating-the-distribution-zip-file-optional

-=Bill


On Mon, Aug 4, 2014 at 7:33 PM, Renan DelValle <rd...@binghamton.edu>
wrote:

> Hi,
>
> I'm trying to build Aurora as the instructions indicate but it runs into an
> error.
>
> I'm running the latest Gradle available from their website (2.0) which
> includes Groovy 2.3.3 which seems to be the source of the issue. I'm trying
> to compile version 0.5.0-RC2.
>
> Here's the error:
>
> * What went wrong:
>
> Could not compile build file
> '/home/test/apache-aurora-0.5.0-rc2-incubating/build.gradle'.
>
> > startup failed:
>
>   Could not instantiate global transform class
> org.spockframework.compiler.SpockTransform specified at
>
> jar:file:/home/test/.gradle/caches/modules-2/files-2.1/org.spockframework/spock-core/0.7-groovy-1.8/3a677d19e8d3acf3bd296c4023356256d55da5a3/spock-core-0.7-groovy-1.8.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation
> because of exception
> org.spockframework.util.IncompatibleGroovyVersionException: The Spock
> compiler plugin cannot execute because Spock 0.7.0-groovy-1.8 is not
> compatible with Groovy 2.3.3. For more information, see
> http://versioninfo.spockframework.org
>
>   Spock location:
>
> file:/home/test/.gradle/caches/modules-2/files-2.1/org.spockframework/spock-core/0.7-groovy-1.8/3a677d19e8d3acf3bd296c4023356256d55da5a3/spock-core-0.7-groovy-1.8.jar
>
>   Groovy location: file:/home/test/gradle-2.0/lib/groovy-all-2.3.3.jar
>
>
> Any help is greatly appreciated.
>
>
> -Renan
>