Browse Source

Rename PMD ruleset, update PMD.

Codacy looks for ruleset.xml, so give it what it wants.
Bump PMD version to the one used by Codacy, for consistency.
pull/788/head
Chris Smith 7 years ago
parent
commit
2460492633
2 changed files with 4 additions and 4 deletions
  1. 0
    0
      etc/pmd/ruleset.xml
  2. 4
    4
      gradle/analysis.gradle

etc/pmd/full.xml → etc/pmd/ruleset.xml View File


+ 4
- 4
gradle/analysis.gradle View File

@@ -26,14 +26,14 @@ configurations {
26 26
 dependencies {
27 27
     codacy 'com.codacy:codacy-coverage-reporter:1.0.13'
28 28
 
29
-    pmd group: 'net.sourceforge.pmd', name: 'pmd-core', version: '5.2.3'
30
-    pmd group: 'net.sourceforge.pmd', name: 'pmd-java', version: '5.2.3'
29
+    pmd group: 'net.sourceforge.pmd', name: 'pmd-core', version: '5.5.2'
30
+    pmd group: 'net.sourceforge.pmd', name: 'pmd-java', version: '5.5.2'
31 31
 }
32 32
 
33 33
 pmd {
34 34
     ruleSets = []
35
-    ruleSetFiles = files("$rootDir/etc/pmd/full.xml")
36
-    toolVersion = '5.2.3'
35
+    ruleSetFiles = files("$rootDir/etc/pmd/ruleset.xml")
36
+    toolVersion = '5.5.2'
37 37
     ignoreFailures = true
38 38
 }
39 39
 

Loading…
Cancel
Save