
apply plugin: 'pmd'

tasks.withType(Pmd) {
    ignoreFailures = true
    reports {
        xml.getRequired().set(true)
        html.getRequired().set(true)
    }
}

pmd {
    ignoreFailures = true
    consoleOutput = false
    toolVersion = "7.3.0"
    ruleSetFiles = rootProject.files('gradle/quality/pmd/category/java/bestpractices.xml')
}
