2016-11-06 08:10:12 -05:00
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
|
|
|
|
checkstyle {
|
|
|
|
ignoreFailures = true
|
2016-11-15 15:11:16 -08:00
|
|
|
configFile = new File(rootProject.projectDir, 'checkstyle.xml')
|
2016-11-09 15:00:05 -05:00
|
|
|
sourceSets = [sourceSets.main]
|
2016-11-06 08:10:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Checkstyle) {
|
|
|
|
reports {
|
|
|
|
xml.enabled = false
|
|
|
|
html.enabled = true
|
|
|
|
}
|
2016-11-15 15:11:16 -08:00
|
|
|
}
|