Store/gradle/pmd.gradle
Brian Plummer 382c00dbfb start of pmd inclusion (#50)
* start of pmd inclusion

* fix all pmd violations

* fail on pmd

* fail on pmd

* fail on pmd
2017-01-11 15:11:41 -05:00

17 lines
301 B
Groovy

apply plugin: 'pmd'
check.dependsOn('pmd')
task pmd(type: Pmd) {
ruleSetFiles = files("${project.rootDir}/pmd-ruleset.xml")
ignoreFailures = false
source 'src'
include '**/*.java'
exclude '**/gen/**'
reports {
xml.enabled = true
html.enabled = true
}
}