diff --git a/jgiven-gradle-plugin/build.gradle b/jgiven-gradle-plugin/build.gradle
index d96ecdd875..c85fb093f6 100644
--- a/jgiven-gradle-plugin/build.gradle
+++ b/jgiven-gradle-plugin/build.gradle
@@ -15,7 +15,7 @@ dependencies {
     testImplementation project(':jgiven-junit5')
     testImplementation 'org.junit.jupiter:junit-jupiter'
     testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
-    testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
+    testImplementation 'org.spockframework:spock-core:2.3-groovy-4.0'
 }
 
 test{