Skip to content

Commit 5350508

Browse files
vanniktechakarnokd
authored andcommitted
2.x: Add Findbugs (#4116)
1 parent ecdd563 commit 5350508

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

build.gradle

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ description = 'RxJava: Reactive Extensions for the JVM – a library for composi
99

1010
apply plugin: 'java'
1111
apply plugin: 'pmd'
12+
apply plugin: 'findbugs'
1213
apply plugin: 'jacoco'
1314
apply plugin: 'nebula.rxjava-project'
1415

@@ -91,4 +92,18 @@ task pmdPrint(dependsOn: 'pmdMain') << {
9192
}
9293
}
9394

94-
build.dependsOn pmdPrint
95+
build.dependsOn pmdPrint
96+
97+
findbugs {
98+
ignoreFailures true
99+
toolVersion = '3.0.1'
100+
effort = 'max'
101+
reportLevel = 'low'
102+
}
103+
104+
findbugsMain {
105+
reports {
106+
html.enabled = false // Findbugs can only have on report enabled
107+
xml.enabled = true
108+
}
109+
}

0 commit comments

Comments
 (0)