|
@@ -21,6 +21,7 @@ dependencies {
|
21
|
21
|
|
22
|
22
|
allprojects {
|
23
|
23
|
apply plugin: 'java'
|
|
24
|
+ apply plugin: 'findbugs'
|
24
|
25
|
apply plugin: 'pmd'
|
25
|
26
|
|
26
|
27
|
sourceSets {
|
|
@@ -61,6 +62,19 @@ allprojects {
|
61
|
62
|
ruleSets = []
|
62
|
63
|
ruleSetFiles = files("$rootDir/etc/pmd/full.xml")
|
63
|
64
|
}
|
|
65
|
+
|
|
66
|
+ tasks.withType(FindBugs) {
|
|
67
|
+ reports {
|
|
68
|
+ html.enabled = true
|
|
69
|
+ xml.enabled = false
|
|
70
|
+ }
|
|
71
|
+ }
|
|
72
|
+
|
|
73
|
+ findbugs {
|
|
74
|
+ reportLevel = 'low'
|
|
75
|
+ effort = 'max'
|
|
76
|
+ ignoreFailures = true
|
|
77
|
+ }
|
64
|
78
|
}
|
65
|
79
|
|
66
|
80
|
task wrapper(type: Wrapper) {
|