|
@@ -46,6 +46,9 @@ subprojects {
|
46
|
46
|
|
47
|
47
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
48
|
48
|
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5'
|
|
49
|
+
|
|
50
|
+ pmd group: 'net.sourceforge.pmd', name: 'pmd-core', version: '5.2.2'
|
|
51
|
+ pmd group: 'net.sourceforge.pmd', name: 'pmd-java', version: '5.2.2'
|
49
|
52
|
}
|
50
|
53
|
|
51
|
54
|
task copyPluginConfig(type: Copy) {
|
|
@@ -70,6 +73,8 @@ subprojects {
|
70
|
73
|
pmd {
|
71
|
74
|
ruleSets = []
|
72
|
75
|
ruleSetFiles = files("$rootDir/etc/pmd/full.xml")
|
|
76
|
+ toolVersion = '5.2.2'
|
|
77
|
+ ignoreFailures = true
|
73
|
78
|
}
|
74
|
79
|
|
75
|
80
|
tasks.withType(FindBugs) {
|