2016-11-06 08:10:12 -05:00
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
|
|
|
|
checkstyle {
|
|
|
|
ignoreFailures = true
|
|
|
|
configFile = new File(rootProject.projectDir, 'sun_checks.xml')
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Checkstyle) {
|
|
|
|
reports {
|
|
|
|
xml.enabled = false
|
|
|
|
html.enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task checkstyle {
|
2016-11-06 09:32:37 -05:00
|
|
|
group = 'Verification'
|
|
|
|
description = 'Runs Checkstyle analysis for all classes.'
|
2016-11-06 08:10:12 -05:00
|
|
|
dependsOn tasks.withType(Checkstyle)
|
|
|
|
}
|