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