|
@@ -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) {
|