plugins { `java-library` id("velocity-checkstyle") apply false id("velocity-spotless") apply false } subprojects { apply() apply(plugin = "velocity-checkstyle") apply(plugin = "velocity-spotless") java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } } dependencies { testImplementation(rootProject.libs.junit) } testing.suites.named("test") { useJUnitJupiter() targets.all { testTask.configure { reports.junitXml.required = true } } } }