content/gradle/quality/checkstyle.gradle

17 lines
No EOL
378 B
Groovy

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"
logging.setLevel(LogLevel.LIFECYCLE)
reports {
xml.required = false
html.required = true
}
}