Skip to content

Commit e1b0d61

Browse files
committed
Update Spotbugs to 4.9.3 for Java 24 support
https://github.com/spotbugs/spotbugs/releases/tag/4.9.3
1 parent 24b41f7 commit e1b0d61

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

gradle/java-setup.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spotbugs {
2323
// https://spotbugs.readthedocs.io/en/latest/detectors.html#findreturnref
2424
'FindReturnRef',
2525
]
26+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
27+
toolVersion = '4.9.3'
2628
}
2729
tasks.named('spotbugsTest') {
2830
enabled = false

lib-extra/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,6 @@ p2deps {
102102
spotbugs {
103103
// LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
104104
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('LOW')
105+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
106+
toolVersion = '4.9.3'
105107
}

lib/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ dependencies {
138138
spotbugs {
139139
// LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
140140
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('LOW')
141+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
142+
toolVersion = '4.9.3'
141143
}
142144

143145
apply from: rootProject.file('gradle/special-tests.gradle')

testlib/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ dependencies {
2727
spotbugs {
2828
// LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
2929
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('HIGH')
30+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
31+
toolVersion = '4.9.3'
3032
}
3133

3234
apply from: rootProject.file('gradle/special-tests.gradle')

0 commit comments

Comments
 (0)