Update to Spock 2.2 and Groovy 4.0

This commit is contained in:
Leonard Brünings
2022-09-11 11:07:46 +02:00
committed by Leonard Brünings
parent 5398f5ebc9
commit 40f103c211
2 changed files with 7 additions and 9 deletions
+3 -5
View File
@@ -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"
}
}