Skip to content

Commit f78cfe8

Browse files
authored
Gradle 8 migrations (#1842)
2 parents 00432b0 + e52c46f commit f78cfe8

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

_ext/gradle/java-setup.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies {
2020
testImplementation "org.junit.jupiter:junit-jupiter:${VER_JUNIT}"
2121
testImplementation "org.assertj:assertj-core:${VER_ASSERTJ}"
2222
testImplementation projects.testlib
23+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
2324
}
2425

2526
tasks.withType(Test).configureEach {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8
33
org.gradle.parallel=true
44
org.gradle.caching=true
5-
org.gradle.unsafe.configuration-cache=true
5+
org.gradle.configuration-cache=true
66

77
name=spotless
88
description=Spotless - keep your code spotless with Gradle

lib-extra/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies {
2424
testImplementation "org.junit.jupiter:junit-jupiter:${VER_JUNIT}"
2525
testImplementation "org.assertj:assertj-core:${VER_ASSERTJ}"
2626
testImplementation "com.diffplug.durian:durian-testlib:${VER_DURIAN}"
27+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
2728
}
2829
spotless {
2930
java {

plugin-gradle/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ dependencies {
2626
testImplementation "org.assertj:assertj-core:${VER_ASSERTJ}"
2727
testImplementation "com.diffplug.durian:durian-testlib:${VER_DURIAN}"
2828
testImplementation 'org.owasp.encoder:encoder:1.2.3'
29+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
2930
}
3031

3132
apply from: rootProject.file('gradle/special-tests.gradle')

plugin-maven/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ dependencies {
5656
testImplementation "org.eclipse.aether:aether-api:${VER_ECLIPSE_AETHER}"
5757
testImplementation "org.codehaus.plexus:plexus-resources:${VER_PLEXUS_RESOURCES}"
5858
testImplementation "org.apache.maven:maven-core:${VER_MAVEN_API}"
59+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
5960
}
6061

6162
apply from: rootProject.file('gradle/special-tests.gradle')

testlib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies {
1313
api "org.junit.jupiter:junit-jupiter:${VER_JUNIT}"
1414
api "org.assertj:assertj-core:${VER_ASSERTJ}"
1515
api "org.mockito:mockito-core:$VER_MOCKITO"
16+
runtimeOnly "org.junit.platform:junit-platform-launcher"
1617

1718
implementation "com.diffplug.durian:durian-io:${VER_DURIAN}"
1819
implementation "com.diffplug.durian:durian-collect:${VER_DURIAN}"

0 commit comments

Comments
 (0)