content/gradle/quality/checkstyle.gradle

16 lines
No EOL
327 B
Groovy

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