File tree Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ tasks.withType(JavaCompile).configureEach {
15
15
apply plugin : ' com.github.spotbugs'
16
16
spotbugs {
17
17
ignoreFailures = false // bug free or it doesn't ship!
18
- reportLevel = ' medium' // low|medium|high (low = sensitive to even minor mistakes)
18
+ // LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
19
+ reportLevel = com.github.spotbugs.snom.Confidence . valueOf(' MEDIUM' )
19
20
omitVisitors = [
20
21
// https://spotbugs.readthedocs.io/en/latest/detectors.html#constructorthrow
21
22
' ConstructorThrow' ,
Original file line number Diff line number Diff line change @@ -91,5 +91,8 @@ p2deps {
91
91
}
92
92
93
93
// we'll hold the core lib to a high standard
94
- spotbugs { reportLevel = ' low' } // low|medium|high (low = sensitive to even minor mistakes)
94
+ spotbugs {
95
+ // LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
96
+ reportLevel = com.github.spotbugs.snom.Confidence . valueOf(' LOW' )
97
+ }
95
98
Original file line number Diff line number Diff line change @@ -126,7 +126,10 @@ dependencies {
126
126
}
127
127
128
128
// we'll hold the core lib to a high standard
129
- spotbugs { reportLevel = ' low' } // low|medium|high (low = sensitive to even minor mistakes)
129
+ spotbugs {
130
+ // LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
131
+ reportLevel = com.github.spotbugs.snom.Confidence . valueOf(' LOW' )
132
+ }
130
133
131
134
apply from : rootProject. file(' gradle/special-tests.gradle' )
132
135
tasks. withType(Test ). configureEach {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
12
12
// https://github.com/gradle-nexus/publish-plugin/releases
13
13
id ' io.github.gradle-nexus.publish-plugin' version ' 1.3.0' apply false
14
14
// https://github.com/spotbugs/spotbugs-gradle-plugin/releases
15
- id ' com.github.spotbugs' version ' 5.2.3 ' apply false
15
+ id ' com.github.spotbugs' version ' 6.0.1 ' apply false
16
16
// https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
17
17
id ' com.diffplug.spotless-changelog' version ' 3.0.2' apply false
18
18
// https://github.com/diffplug/goomph/blob/main/CHANGES.md
Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ dependencies {
21
21
}
22
22
23
23
// we'll hold the testlib to a low standard (prize brevity)
24
- spotbugs { reportLevel = ' high' } // low|medium|high (low = sensitive to even minor mistakes)
24
+ spotbugs {
25
+ // LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
26
+ reportLevel = com.github.spotbugs.snom.Confidence . valueOf(' HIGH' )
27
+ }
25
28
26
29
apply from : rootProject. file(' gradle/special-tests.gradle' )
27
30
tasks. withType(Test ). configureEach {
You can’t perform that action at this time.
0 commit comments