2020-06-04 23:41:01 +02:00
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
|
|
|
|
checkstyle {
|
2022-01-03 11:14:08 +01:00
|
|
|
toolVersion '9.2.1'
|
2020-06-04 23:41:01 +02:00
|
|
|
showViolations = true
|
|
|
|
ignoreFailures = true
|
2021-10-15 11:21:34 +02:00
|
|
|
configFile rootProject.file("gradle/config/checkstyle/checkstyle.xml")
|
2020-06-04 23:41:01 +02:00
|
|
|
}
|
|
|
|
|
2022-01-03 11:14:08 +01:00
|
|
|
tasks.withType(Checkstyle) {
|
2020-06-04 23:41:01 +02:00
|
|
|
exclude "**/module-info.java"
|
|
|
|
logging.setLevel(LogLevel.LIFECYCLE)
|
|
|
|
reports {
|
2022-01-03 11:14:08 +01:00
|
|
|
xml.required = false
|
|
|
|
html.required = true
|
2020-06-04 23:41:01 +02:00
|
|
|
}
|
|
|
|
}
|