Skip to content

Commit 6d07d35

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 6d07d35

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

gradle/java-setup.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ dependencies {
4040
compileOnly 'net.jcip:jcip-annotations:1.0'
4141
compileOnly "com.github.spotbugs:spotbugs-annotations:${spotbugs.toolVersion.get()}"
4242
compileOnly "com.google.code.findbugs:jsr305:${VER_JSR_305}"
43+
44+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
45+
spotbugs 'com.github.spotbugs:spotbugs:4.9.3'
4346
}

lib-extra/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ dependencies {
2929
testImplementation "org.assertj:assertj-core:${VER_ASSERTJ}"
3030
testImplementation "com.diffplug.durian:durian-testlib:${VER_DURIAN}"
3131
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
32+
33+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
34+
spotbugs 'com.github.spotbugs:spotbugs:4.9.3'
3235
}
3336
spotless {
3437
java {

lib/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ dependencies {
132132
sortPomCompileOnly 'org.slf4j:slf4j-api:2.0.17'
133133
// zjsonPatch
134134
zjsonPatchCompileOnly 'com.flipkart.zjsonpatch:zjsonpatch:0.4.16'
135+
136+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
137+
spotbugs 'com.github.spotbugs:spotbugs:4.9.3'
135138
}
136139

137140
// we'll hold the core lib to a high standard

testlib/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ dependencies {
2121
implementation "com.diffplug.durian:durian-collect:${VER_DURIAN}"
2222
implementation "org.eclipse.jgit:org.eclipse.jgit:${VER_JGIT}"
2323
implementation gradleTestKit()
24+
25+
// TODO: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/1360
26+
spotbugs 'com.github.spotbugs:spotbugs:4.9.3'
2427
}
2528

2629
// we'll hold the testlib to a low standard (prize brevity)

0 commit comments

Comments
 (0)