Update to Spock 2.2 and Groovy 4.0
This commit is contained in:
committed by
Leonard Brünings
parent
5398f5ebc9
commit
40f103c211
+3
-5
@@ -15,8 +15,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
// mandatory dependencies for using Spock
|
||||
implementation 'org.codehaus.groovy:groovy:3.0.10'
|
||||
testImplementation platform("org.spockframework:spock-bom:2.1-groovy-3.0")
|
||||
implementation 'org.apache.groovy:groovy:4.0.5'
|
||||
testImplementation platform("org.spockframework:spock-bom:2.2-groovy-4.0")
|
||||
testImplementation "org.spockframework:spock-core"
|
||||
testImplementation "org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
|
||||
|
||||
@@ -27,7 +27,7 @@ dependencies {
|
||||
|
||||
// dependencies used by examples in this project
|
||||
testRuntimeOnly "com.h2database:h2:2.1.210"
|
||||
implementation "org.codehaus.groovy:groovy-sql:3.0.9"
|
||||
implementation "org.apache.groovy:groovy-sql:4.0.5"
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -36,5 +36,3 @@ test {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<groovy.version>3.0.9</groovy.version>
|
||||
<groovy.version>4.0.5</groovy.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
@@ -70,7 +70,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spockframework</groupId>
|
||||
<artifactId>spock-bom</artifactId>
|
||||
<version>2.1-groovy-3.0</version>
|
||||
<version>2.2-groovy-4.0</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
@@ -91,7 +91,7 @@
|
||||
</dependency>
|
||||
<!-- Optional dependencies for using Spock -->
|
||||
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
|
||||
<groupId>org.codehaus.groovy</groupId>
|
||||
<groupId>org.apache.groovy</groupId>
|
||||
<artifactId>groovy</artifactId>
|
||||
<version>${groovy.version}</version>
|
||||
</dependency>
|
||||
@@ -120,7 +120,7 @@
|
||||
<version>2.1.210</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.groovy</groupId>
|
||||
<groupId>org.apache.groovy</groupId>
|
||||
<artifactId>groovy-sql</artifactId>
|
||||
<version>${groovy.version}</version>
|
||||
</dependency>
|
||||
|
||||
Reference in New Issue
Block a user