382c00dbfb
* start of pmd inclusion * fix all pmd violations * fail on pmd * fail on pmd * fail on pmd
17 lines
301 B
Groovy
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
|
|
}
|
|
}
|