wahlrecht/buildSrc/src/main/kotlin/twomartens.checkstyle.gradl...

24 lines
541 B
Plaintext
Raw Normal View History

2023-07-29 13:56:23 +02:00
plugins {
checkstyle
id("twomartens.java-base")
}
checkstyle {
toolVersion = "10.0"
2023-07-29 14:04:47 +02:00
isIgnoreFailures = false
2023-07-29 13:56:23 +02:00
maxWarnings = 0
configFile = rootProject.file("config/checkstyle/checkstyle.xml")
configProperties = mapOf<String, String>(
"org.checkstyle.google.suppressionfilter.config" to
"${project.rootDir}/config/checkstyle/checkstyle-suppressions.xml")
}
tasks.withType<Checkstyle>().configureEach {
reports {
xml.required.set(true)
html.required.set(true)
}
}