Added checkstyle.

This commit is contained in:
Erik C. Thauvin 2019-04-16 11:55:18 -07:00
parent 919661095c
commit f29dddf82c

View file

@ -1,4 +1,5 @@
plugins {
id 'checkstyle'
id 'java'
id 'jacoco'
id 'maven-publish'
@ -148,6 +149,18 @@ tasks.withType(SpotBugsTask) {
excludeFilter = file("$projectDir/config/spotbugs/excludeFilter.xml")
}
tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
//html.stylesheet resources.text.fromFile('config/xsl/checkstyle-custom.xsl')
}
}
checkstyle {
toolVersion "8.18"
}
compileJava {
options.compilerArgs.add('-proc:none')
}