Browse Source

Update PMD to 5.2.2.

pull/174/head
Chris Smith 9 years ago
parent
commit
604dd70445
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      build.gradle

+ 5
- 0
build.gradle View File

@@ -47,6 +47,9 @@ dependencies {
47 47
     testCompile group: 'junit', name: 'junit', version: '4.11'
48 48
     testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5'
49 49
     testCompile group: 'com.google.jimfs', name: 'jimfs', version: '1.0'
50
+
51
+    pmd group: 'net.sourceforge.pmd', name: 'pmd-core', version: '5.2.2'
52
+    pmd group: 'net.sourceforge.pmd', name: 'pmd-java', version: '5.2.2'
50 53
 }
51 54
 
52 55
 publishing {
@@ -90,6 +93,8 @@ repositories {
90 93
 pmd {
91 94
     ruleSets = []
92 95
     ruleSetFiles = files("$rootDir/etc/pmd/full.xml")
96
+    toolVersion = '5.2.2'
97
+    ignoreFailures = true
93 98
 }
94 99
 
95 100
 tasks.withType(FindBugs) {

Loading…
Cancel
Save