content/gradle/quality/checkstyle.gradle

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