This commit is contained in:
Anthony Stirling 2025-08-07 11:07:19 +01:00
parent c84adb289c
commit 4572c74b07

View File

@ -207,7 +207,13 @@ tasks.withType(JavaCompile).configureEach {
dependsOn "spotlessApply"
}
}
gradle.taskGraph.whenReady { graph ->
if (project.hasProperty("noSpotless")) {
tasks.matching { it.name.startsWith("spotless") }.configureEach {
enabled = false
}
}
}
licenseReport {
projects = [project]
renderers = [new JsonReportRenderer()]