updated builds to use Groovy 1.8 and latest H2, changed version to 0.6-SNAPSHOT
This commit is contained in:
+4
-3
@@ -2,6 +2,7 @@ apply plugin: "groovy"
|
|||||||
apply plugin: "idea"
|
apply plugin: "idea"
|
||||||
apply plugin: "eclipse"
|
apply plugin: "eclipse"
|
||||||
|
|
||||||
|
version = "0.6-SNAPSHOT"
|
||||||
description = "Spock Framework - Example Project"
|
description = "Spock Framework - Example Project"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -15,8 +16,8 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// mandatory dependencies for using Spock
|
// mandatory dependencies for using Spock
|
||||||
groovy("org.codehaus.groovy:groovy-all:1.7.10")
|
groovy("org.codehaus.groovy:groovy-all:1.8.6")
|
||||||
testCompile "org.spockframework:spock-core:0.6-groovy-1.7-SNAPSHOT"
|
testCompile "org.spockframework:spock-core:0.6-groovy-1.8-SNAPSHOT"
|
||||||
|
|
||||||
// optional dependencies for using Spock
|
// optional dependencies for using Spock
|
||||||
testCompile "org.hamcrest:hamcrest-core:1.2" // only necessary if Hamcrest matchers are used
|
testCompile "org.hamcrest:hamcrest-core:1.2" // only necessary if Hamcrest matchers are used
|
||||||
@@ -24,7 +25,7 @@ dependencies {
|
|||||||
testRuntime "org.objenesis:objenesis:1.2" // enables mocking of classes without default constructor (together with CGLIB)
|
testRuntime "org.objenesis:objenesis:1.2" // enables mocking of classes without default constructor (together with CGLIB)
|
||||||
|
|
||||||
// dependencies used by examples in this project (not required for using Spock)
|
// dependencies used by examples in this project (not required for using Spock)
|
||||||
testRuntime "com.h2database:h2:1.2.147"
|
testRuntime "com.h2database:h2:1.3.164"
|
||||||
}
|
}
|
||||||
|
|
||||||
// copies all Jars used in this project into build/output/lib (not required for using Spock)
|
// copies all Jars used in this project into build/output/lib (not required for using Spock)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<dependency
|
<dependency
|
||||||
groupId="org.spockframework"
|
groupId="org.spockframework"
|
||||||
artifactId="spock-core"
|
artifactId="spock-core"
|
||||||
version="0.6-groovy-1.7-SNAPSHOT" />
|
version="0.6-groovy-1.8-SNAPSHOT" />
|
||||||
<!-- 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
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<dependency
|
<dependency
|
||||||
groupId="com.h2database"
|
groupId="com.h2database"
|
||||||
artifactId="h2"
|
artifactId="h2"
|
||||||
version="1.2.147" />
|
version="1.3.164" />
|
||||||
<remoteRepository
|
<remoteRepository
|
||||||
id="maven-central"
|
id="maven-central"
|
||||||
url="http://repo1.maven.org/maven2/" />
|
url="http://repo1.maven.org/maven2/" />
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.spockframework</groupId>
|
<groupId>org.spockframework</groupId>
|
||||||
<artifactId>spock-example</artifactId>
|
<artifactId>spock-example</artifactId>
|
||||||
<version>0.6-groovy-1.7-SNAPSHOT</version>
|
<version>0.6-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>Spock Framework - Example Project</name>
|
<name>Spock Framework - Example Project</name>
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.codehaus.groovy</groupId>
|
<groupId>org.codehaus.groovy</groupId>
|
||||||
<artifactId>groovy-all</artifactId>
|
<artifactId>groovy-all</artifactId>
|
||||||
<version>1.7.10</version>
|
<version>1.8.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
@@ -58,8 +58,7 @@
|
|||||||
-->
|
-->
|
||||||
<groupId>org.spockframework</groupId>
|
<groupId>org.spockframework</groupId>
|
||||||
<artifactId>spock-maven</artifactId>
|
<artifactId>spock-maven</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>0.6-groovy-1.8-SNAPSHOT</version>
|
||||||
<!-- you need to specify a concrete version number here -->
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
@@ -92,8 +91,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spockframework</groupId>
|
<groupId>org.spockframework</groupId>
|
||||||
<artifactId>spock-core</artifactId>
|
<artifactId>spock-core</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>0.6-groovy-1.8-SNAPSHOT</version>
|
||||||
<!-- you need to specify a concrete version number here -->
|
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Optional dependencies for using Spock -->
|
<!-- Optional dependencies for using Spock -->
|
||||||
@@ -119,7 +117,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.h2database</groupId>
|
<groupId>com.h2database</groupId>
|
||||||
<artifactId>h2</artifactId>
|
<artifactId>h2</artifactId>
|
||||||
<version>1.2.147</version>
|
<version>1.3.164</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user