content/gradle/quality/checkstyle.gradle

16 lines
337 B
Groovy
Raw Permalink Normal View History

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