diff --git a/build.gradle b/build.gradle index 960a02a..8eeb3f9 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ dependencies { 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 + testImplementation "org.hamcrest:hamcrest-core:3.0" // only necessary if Hamcrest matchers are used testRuntimeOnly 'net.bytebuddy:byte-buddy:1.15.5' // allows mocking of classes (in addition to interfaces) testRuntimeOnly "org.objenesis:objenesis:3.4" // allows mocking of classes without default constructor (together with ByteBuddy or CGLIB) diff --git a/pom.xml b/pom.xml index f91339b..50cb1df 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ org.hamcrest hamcrest-core - 2.2 + 3.0 test