content/gradle/quality/checkstyle.gradle

16 lines
327 B
Groovy
Raw Normal View History

apply plugin: 'checkstyle'
checkstyle {
toolVersion '9.2.1'
showViolations = true
ignoreFailures = true
2022-11-07 20:25:56 +01:00
configFile rootProject.file("gradle/quality/checkstyle.xml")
}
tasks.withType(Checkstyle) {
exclude "**/module-info.java"
reports {
xml.required = false
html.required = true
}
}