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