Skip to content

Commit 54a6ca3

Browse files
soloturnclaude
andcommitted
build(nui): declare junit-platform-launcher explicitly
Gradle 9 dropped the auto-supplied JUnit Platform Launcher test dependency, so bumping the wrapper to 9.7.0 in this PR made :nui:test fail immediately with 'Failed to load JUnit Platform' - before any test even ran. Declare it explicitly as testRuntimeOnly, version-paired with the existing junit-jupiter 5.6.2. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent d2093a4 commit 54a6ca3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nui/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ dependencies {
3232
annotationProcessor "org.terasology.gestalt:gestalt-inject-java:8.0.0-SNAPSHOT"
3333

3434
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.2")
35+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.6.2")
3536
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.2")
3637
testImplementation("org.junit.jupiter:junit-jupiter-params:5.6.2")
3738
testImplementation("junit:junit:4.12")

0 commit comments

Comments
 (0)