mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-11-27 06:30:35 +08:00
32 lines
584 B
Plaintext
32 lines
584 B
Plaintext
plugins {
|
|
`java-library`
|
|
id("velocity-checkstyle") apply false
|
|
id("velocity-spotless") apply false
|
|
}
|
|
|
|
subprojects {
|
|
apply<JavaLibraryPlugin>()
|
|
|
|
apply(plugin = "velocity-checkstyle")
|
|
apply(plugin = "velocity-spotless")
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(rootProject.libs.junit)
|
|
}
|
|
|
|
tasks {
|
|
test {
|
|
useJUnitPlatform()
|
|
reports {
|
|
junitXml.required.set(true)
|
|
}
|
|
}
|
|
}
|
|
}
|