updated gradle to 1.0
updated all builds to latest library versions renamed specs to end in 'Spec' (easiest solution until we have a plugin for Maven 3.0)
This commit is contained in:
+9
-9
@@ -1,6 +1,6 @@
|
||||
apply plugin: "groovy"
|
||||
|
||||
version = "0.6"
|
||||
version = "0.7-SNAPSHOT"
|
||||
description = "Spock Framework - Example Project"
|
||||
|
||||
// Spock works with Java 1.5 and above
|
||||
@@ -9,22 +9,22 @@ sourceCompatibility = 1.5
|
||||
repositories {
|
||||
// Spock releases are available from Maven Central
|
||||
mavenCentral()
|
||||
// Spock development snapshots are available from Spock's Maven repo
|
||||
maven { url "http://m2repo.spockframework.org/snapshots" }
|
||||
// Spock snapshots are available from the Sonatype OSS snapshot repository
|
||||
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// mandatory dependencies for using Spock
|
||||
groovy "org.codehaus.groovy:groovy-all:1.8.6"
|
||||
testCompile "org.spockframework:spock-core:0.6-groovy-1.8"
|
||||
groovy "org.codehaus.groovy:groovy-all:2.0.0"
|
||||
testCompile "org.spockframework:spock-core:0.7-groovy-2.0-SNAPSHOT"
|
||||
|
||||
// optional dependencies for using Spock
|
||||
testCompile "org.hamcrest:hamcrest-core:1.2" // only necessary if Hamcrest matchers are used
|
||||
testRuntime "cglib:cglib-nodep:2.2" // allows mocking of classes (in addition to interfaces)
|
||||
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
|
||||
testRuntime "cglib:cglib-nodep:2.2.2" // allows mocking of classes (in addition to interfaces)
|
||||
testRuntime "org.objenesis:objenesis:1.2" // allows mocking of classes without default constructor (together with CGLIB)
|
||||
|
||||
// dependencies used by examples in this project
|
||||
testRuntime "com.h2database:h2:1.3.164"
|
||||
testRuntime "com.h2database:h2:1.3.168"
|
||||
}
|
||||
|
||||
// the remaining configuration is specific to this project, and is not required for using Spock
|
||||
@@ -37,6 +37,6 @@ task collectJars(type: Copy) {
|
||||
}
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = "1.0-milestone-9"
|
||||
gradleVersion = "1.0"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user