Conflicting module versions. Module [groovy-all is loaded in version 2.3.9 and you are trying to load version 2.3.10
buildscript {
repositories {
jcenter()
mavenCentral()
}
}
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
repositories {
mavenCentral()
jcenter()
maven { url "http://oss.sonatype.org/content/repositories/releases/" }
}
dependencies {
compile "org.codehaus.groovy:groovy-all:2.3.9"
compile gradleApi()
testCompile "org.spockframework:spock-core:1.0-groovy-2.3"
}
sourceCompatibility = 1.7
version = '1.0.0-SNAPSHOT'
--
You received this message because you are subscribed to the Google Groups "Spock Framework - User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spockframewor...@googlegroups.com.
To post to this group, send email to spockfr...@googlegroups.com.
Visit this group at http://groups.google.com/group/spockframework.
For more options, visit https://groups.google.com/d/optout.
Thanks for the quick reply.
Now I get the following:
Could not find method testCompile() for arguments [org.spockframework:spock-core:1.0-groovy-2.3, build_12i2645wk28nm3p2hhs5mtsd3$_run_closure2_closure6@5f9b80c2] on root project 'GradleYangPlugin'.
(By the way, your code sample is coming out as rich text, which translates those double quotes to “smart quotes”, which are not valid in the code. I have to replace those if I insert from your sample.)
Ok, that works, which led me to my next problem, which is outside of the spock domain.