You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
elx/gradle/quality/checkstyle.gradle

20 lines
409 B
Groovy

apply plugin: 'checkstyle'
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
}
}