Skip to content

Commit 94831e5

Browse files
committed
build: make buildSrc testing Gradle 9 compatible
1 parent 9304b37 commit 94831e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

buildSrc/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ dependencies {
6060
testImplementation 'org.spockframework:spock-core', {
6161
exclude(group: 'org.codehaus.groovy') // Use Gradle provided version because: Could not resolve org.codehaus.groovy:groovy:3.0.12
6262
}
63+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher', {
64+
// In Gradle 9, this needs to be declared
65+
// https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
66+
}
6367
}
6468

6569
tasks.withType(Test).configureEach {

0 commit comments

Comments
 (0)