From 1b0b6764e8d88f702fc6762a56ca613e94c3aac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20Br=C3=BCnings?= Date: Wed, 16 Feb 2022 16:32:56 +0100 Subject: [PATCH] Update to Spock 2.1 and update other dependencies --- build.gradle | 8 ++++---- pom.xml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 78bd787..4e3aca3 100755 --- a/build.gradle +++ b/build.gradle @@ -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 { diff --git a/pom.xml b/pom.xml index 77de148..2f7da4c 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ UTF-8 UTF-8 - 3.0.8 + 3.0.9 @@ -70,7 +70,7 @@ org.spockframework spock-bom - 2.0-groovy-3.0 + 2.1-groovy-3.0 pom import @@ -98,7 +98,7 @@ net.bytebuddy byte-buddy - 1.11.0 + 1.12.7 test