diff options
-rw-r--r-- | build.gradle.kts | 4 | ||||
-rw-r--r-- | paper-api/build.gradle.kts | 1 | ||||
-rw-r--r-- | paper-server/build.gradle.kts | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index f21b88e818..75fc6a21af 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,10 +25,6 @@ subprojects { } } - dependencies { - "testRuntimeOnly"("org.junit.platform:junit-platform-launcher") - } - tasks.withType<AbstractArchiveTask>().configureEach { isPreserveFileTimestamps = false isReproducibleFileOrder = true diff --git a/paper-api/build.gradle.kts b/paper-api/build.gradle.kts index 7dc323ba31..7dd682b4b9 100644 --- a/paper-api/build.gradle.kts +++ b/paper-api/build.gradle.kts @@ -92,6 +92,7 @@ dependencies { testImplementation("org.mockito:mockito-core:5.14.1") testImplementation("org.ow2.asm:asm-tree:9.7.1") mockitoAgent("org.mockito:mockito-core:5.14.1") { isTransitive = false } // Paper - configure mockito agent that is needed in newer java versions + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } // Paper start diff --git a/paper-server/build.gradle.kts b/paper-server/build.gradle.kts index f36c81c083..266795c487 100644 --- a/paper-server/build.gradle.kts +++ b/paper-server/build.gradle.kts @@ -13,6 +13,7 @@ val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/" dependencies { mache("io.papermc:mache:1.21.4+build.6") paperclip("io.papermc:paperclip:3.0.3") + testRuntimeOnly("org.junit.platform:junit-platform-launcher") } paperweight { |