19 lines
382 B
Groovy
19 lines
382 B
Groovy
|
|
||
|
tasks.withType(Checkstyle) {
|
||
|
ignoreFailures = true
|
||
|
reports {
|
||
|
xml.getRequired().set(true)
|
||
|
html.getRequired().set(true)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
checkstyle {
|
||
|
toolVersion = '10.4'
|
||
|
configFile = rootProject.file('gradle/quality/checkstyle.xml')
|
||
|
ignoreFailures = true
|
||
|
showViolations = false
|
||
|
checkstyleMain {
|
||
|
source = sourceSets.main.allSource
|
||
|
}
|
||
|
}
|