@@ -49,16 +49,12 @@ dependencies {
4949 implementation ' info.picocli:picocli:4.6.3'
5050 annotationProcessor ' info.picocli:picocli-codegen:4.6.3'
5151
52- implementation " org.codehaus.groovy:groovy:3.0.9"
53- implementation " org.codehaus.groovy:groovy-sql:3.0.9"
52+ implementation ' org.apache.groovy:groovy-sql:4.0.16'
5453
5554 // Use the latest Groovy version for Spock testing
56- testImplementation " org.codehaus.groovy:groovy:3.0.9"
57- testImplementation " org.codehaus.groovy:groovy-nio:3.0.9"
58- testImplementation platform(" org.spockframework:spock-bom:2.1-groovy-3.0" )
59- testImplementation " org.spockframework:spock-core"
60- testImplementation " org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
61- testImplementation ' junit:junit:4.13'
55+ testImplementation ' org.apache.groovy:groovy:4.0.16'
56+ testImplementation ' org.apache.groovy:groovy-nio:4.0.16'
57+ testImplementation ' org.spockframework:spock-core:2.3-groovy-4.0'
6258 testImplementation " org.testcontainers:testcontainers:1.16.3"
6359 testImplementation " org.testcontainers:mysql:1.16.3"
6460 testImplementation " org.testcontainers:spock:1.16.3"
@@ -67,7 +63,7 @@ dependencies {
6763 testImplementation files(" libs/jar-with-resources.jar" )
6864
6965 nativeCliTestImplementation project
70- nativeCliTestImplementation " org.codehaus .groovy:groovy-sql:3 .0.9 "
66+ nativeCliTestImplementation ' org.apache .groovy:groovy-sql:4 .0.16 '
7167}
7268
7369test {
@@ -124,7 +120,6 @@ graalvmNative {
124120
125121
126122 buildArgs(org.gradle.nativeplatform.platform.internal.DefaultNativePlatform . currentOperatingSystem. isLinux() ? [' --static' , ] : [])
127- buildArgs. add(' --allow-incomplete-classpath' )
128123 buildArgs. add(' --report-unsupported-elements-at-runtime' )
129124 buildArgs. add(' --initialize-at-run-time=sun.nio.ch.WindowsAsynchronousFileChannelImpl$DefaultIocpHolder' )
130125 buildArgs. add(' -H:+AddAllCharsets' )
0 commit comments