Update for Spock 1.0
This commit is contained in:
+3
-6
@@ -1,6 +1,6 @@
|
|||||||
apply plugin: "groovy"
|
apply plugin: "groovy"
|
||||||
|
|
||||||
version = "1.0-SNAPSHOT"
|
version = "1.0"
|
||||||
description = "Spock Framework - Example Project"
|
description = "Spock Framework - Example Project"
|
||||||
|
|
||||||
// Spock works with Java 1.5 and above
|
// Spock works with Java 1.5 and above
|
||||||
@@ -15,8 +15,8 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// mandatory dependencies for using Spock
|
// mandatory dependencies for using Spock
|
||||||
compile "org.codehaus.groovy:groovy-all:2.3.8"
|
compile "org.codehaus.groovy:groovy-all:2.4.1"
|
||||||
testCompile "org.spockframework:spock-core:1.0-groovy-2.3-SNAPSHOT"
|
testCompile "org.spockframework:spock-core:1.0-groovy-2.4"
|
||||||
|
|
||||||
// optional dependencies for using Spock
|
// optional dependencies for using Spock
|
||||||
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
|
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
|
||||||
@@ -36,8 +36,5 @@ task collectJars(type: Copy) {
|
|||||||
from configurations.testRuntime
|
from configurations.testRuntime
|
||||||
}
|
}
|
||||||
|
|
||||||
task wrapper(type: Wrapper) {
|
|
||||||
gradleVersion = "2.2"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<dependency
|
<dependency
|
||||||
groupId="org.spockframework"
|
groupId="org.spockframework"
|
||||||
artifactId="spock-core"
|
artifactId="spock-core"
|
||||||
version="1.0-groovy-2.3-SNAPSHOT" />
|
version="1.0-groovy-2.4" />
|
||||||
<!-- Optional dependencies for using Spock -->
|
<!-- Optional dependencies for using Spock -->
|
||||||
<!-- enables mocking of classes (in addition to interfaces) -->
|
<!-- enables mocking of classes (in addition to interfaces) -->
|
||||||
<dependency
|
<dependency
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
#Mon Dec 08 00:28:14 CET 2014
|
#Mon Mar 02 13:00:44 CET 2015
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip
|
||||||
|
|||||||
@@ -59,14 +59,14 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spockframework</groupId>
|
<groupId>org.spockframework</groupId>
|
||||||
<artifactId>spock-core</artifactId>
|
<artifactId>spock-core</artifactId>
|
||||||
<version>1.0-groovy-2.3-SNAPSHOT</version>
|
<version>1.0-groovy-2.4</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Optional dependencies for using Spock -->
|
<!-- Optional dependencies for using Spock -->
|
||||||
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
|
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
|
||||||
<groupId>org.codehaus.groovy</groupId>
|
<groupId>org.codehaus.groovy</groupId>
|
||||||
<artifactId>groovy-all</artifactId>
|
<artifactId>groovy-all</artifactId>
|
||||||
<version>2.3.10</version>
|
<version>2.4.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
|
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
|
||||||
<groupId>cglib</groupId>
|
<groupId>cglib</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user