mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Also make updates for Java 11: * Disable errorprone plugin (currently broken on Java 11) * Update checkstyle to 8.12 * Update pmd to 6.7.0
18 lines
426 B
Groovy
18 lines
426 B
Groovy
|
|
apply plugin: 'checkstyle'
|
|
apply plugin: 'pmd'
|
|
|
|
checkstyle {
|
|
toolVersion = "8.12"
|
|
configDir = file("${project.rootDir}/styleguide")
|
|
config = resources.text.fromFile(new File(configDir, "checkstyle.xml"))
|
|
}
|
|
|
|
pmd {
|
|
toolVersion = '6.7.0'
|
|
consoleOutput = true
|
|
reportsDir = file("$project.buildDir/reports/pmd")
|
|
ruleSetFiles = files(new File(rootDir, "styleguide/pmd-ruleset.xml"))
|
|
ruleSets = []
|
|
}
|