aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-12-21 15:10:08 -0800
committerJake Potrebic <[email protected]>2024-12-21 15:10:08 -0800
commit4c6ea8416baa16c741737310571f6cac08271417 (patch)
treefa0a81d61460a41531a1b23474e2770ec146b746
parent46c6f497c7e5e3f6d7ee9e226837d44211737590 (diff)
downloadPaper-4c6ea8416baa16c741737310571f6cac08271417.tar.gz
Paper-4c6ea8416baa16c741737310571f6cac08271417.zip
move junit platform dep to -server and -api
-rw-r--r--build.gradle.kts4
-rw-r--r--paper-api/build.gradle.kts1
-rw-r--r--paper-server/build.gradle.kts1
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 {