Skip to content

Commit 329a639

Browse files
committed
Enable spotbugs scans and do not fail the build
1 parent 84980e9 commit 329a639

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
id 'jacoco'
1010
id "com.diffplug.gradle.spotless" version "3.27.0"
1111
id 'org.sonarqube' version '2.8'
12+
id "com.github.spotbugs" version "4.8.0"
1213
}
1314

1415
apply from: 'dependencies.gradle'

gradle/quality.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ checkstyle
88
toolVersion = versions.checkstyle
99
}
1010

11+
spotbugs {
12+
ignoreFailures = true
13+
}
14+
spotbugsMain {
15+
reports {
16+
xml.enabled = false
17+
html.enabled = true
18+
}
19+
}
20+
1121
sourceSets
1222
{
1323
integrationTest

0 commit comments

Comments
 (0)