Skip to content

Commit

Permalink
Downgradle PMD version to match the rule file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cervator committed Jun 22, 2017
1 parent 32634bf commit 80a281e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ configure(subprojects.findAll { !it.name.contains("testpack") && !it.name.starts
}

pmd {
// Set PMD to an older version than Gradle default - the pmd.xml needs to be updated for a newer PMD version
toolVersion = '4.3'
ignoreFailures = true
ruleSetFiles = files(new File(rootDir, "config/pmd/pmd.xml"))
}
Expand Down

0 comments on commit 80a281e

Please sign in to comment.