mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Update to new Native Utils (#1696)
Also update to azure 2019 windows image
This commit is contained in:
committed by
Peter Johnson
parent
30e936837c
commit
3dfb01d45b
@@ -87,7 +87,7 @@ test {
|
||||
}
|
||||
}
|
||||
|
||||
if (project.hasProperty('onlyAthena') || project.hasProperty('onlyRaspbian')) {
|
||||
if (project.hasProperty('onlylinuxathena') || project.hasProperty('onlylinuxraspbian')) {
|
||||
test.enabled = false
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
|
||||
apply plugin: 'checkstyle'
|
||||
apply plugin: 'pmd'
|
||||
|
||||
checkstyle {
|
||||
toolVersion = "8.12"
|
||||
@@ -8,10 +7,14 @@ checkstyle {
|
||||
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 = []
|
||||
if (!project.hasProperty('skipPMD')) {
|
||||
apply plugin: 'pmd'
|
||||
|
||||
pmd {
|
||||
toolVersion = '6.7.0'
|
||||
consoleOutput = true
|
||||
reportsDir = file("$project.buildDir/reports/pmd")
|
||||
ruleSetFiles = files(new File(rootDir, "styleguide/pmd-ruleset.xml"))
|
||||
ruleSets = []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user