Velocity/build.gradle.kts

32 lines
584 B
Plaintext
Raw Normal View History

plugins {
`java-library`
id("velocity-checkstyle") apply false
id("velocity-spotless") apply false
}
2023-01-02 10:51:33 +08:00
subprojects {
apply<JavaLibraryPlugin>()
apply(plugin = "velocity-checkstyle")
apply(plugin = "velocity-spotless")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
dependencies {
testImplementation(rootProject.libs.junit)
}
tasks {
test {
useJUnitPlatform()
reports {
junitXml.required.set(true)
}
}
}
}