Skip to content

Commit b944488

Browse files
committed
Add JUnit platform launcher
This is required to work with Gradle 9. The automatic loading of test framework implementation was removed back in Gradle 8, so it now has to be specified as a test runtime dependency. See also https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
1 parent f1131ec commit b944488

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ dependencies {
2525
testImplementation "org.junit.jupiter:junit-jupiter"
2626
testImplementation "org.assertj:assertj-core:3.27.4"
2727
testImplementation "com.approvaltests:approvaltests:25.4.3"
28+
29+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2830
}
2931

3032
shadowJar {

0 commit comments

Comments
 (0)