Update to Spock 2.1 and update other dependencies

This commit is contained in:
Leonard Brünings
2022-02-16 16:34:36 +01:00
parent 5e4c048ada
commit 1b0b6764e8
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -15,19 +15,19 @@ repositories {
dependencies {
// mandatory dependencies for using Spock
implementation "org.codehaus.groovy:groovy:3.0.8"
testImplementation platform("org.spockframework:spock-bom:2.0-groovy-3.0")
implementation "org.codehaus.groovy:groovy:3.0.9"
testImplementation platform("org.spockframework:spock-bom:2.1-groovy-3.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
// optional dependencies for using Spock
testImplementation "org.hamcrest:hamcrest-core:2.2" // only necessary if Hamcrest matchers are used
testRuntimeOnly "net.bytebuddy:byte-buddy:1.11.0" // allows mocking of classes (in addition to interfaces)
testRuntimeOnly 'net.bytebuddy:byte-buddy:1.12.7' // allows mocking of classes (in addition to interfaces)
testRuntimeOnly "org.objenesis:objenesis:3.2" // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB)
// dependencies used by examples in this project
testRuntimeOnly "com.h2database:h2:2.1.210"
implementation "org.codehaus.groovy:groovy-sql:3.0.8"
implementation "org.codehaus.groovy:groovy-sql:3.0.9"
}
test {