move junit platform dep to -server and -api

This commit is contained in:
Jake Potrebic 2024-12-21 15:10:08 -08:00
parent 46c6f497c7
commit 4c6ea8416b
No known key found for this signature in database
GPG key ID: ECE0B3C133C016C5
3 changed files with 2 additions and 4 deletions

View file

@ -25,10 +25,6 @@ subprojects {
}
}
dependencies {
"testRuntimeOnly"("org.junit.platform:junit-platform-launcher")
}
tasks.withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true

View file

@ -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

View file

@ -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 {