Skip to content

Commit 45bc239

Browse files
Bump Spotbugs plugin version and minor cleanup. (#10242)
1 parent 4db26e0 commit 45bc239

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313

1414
id("com.diffplug.spotless") version "8.1.0"
1515
id("me.champeau.gradle.japicmp") version "0.4.3"
16-
id("com.github.spotbugs") version "6.4.7"
16+
id("com.github.spotbugs") version "6.4.8"
1717
id("de.thetaphi.forbiddenapis") version "3.10"
1818
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
1919
id("com.gradleup.shadow") version "8.3.6" apply false

dd-java-agent/agent-otel/otel-bootstrap/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ forbiddenApis {
3737
}
3838

3939
spotbugs {
40+
// To avoid massive report on `io.opentelemetry.*` and `net.bytebbuddy.*` classes.
4041
onlyAnalyze = ['none']
4142
}
4243

internal-api/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.github.spotbugs.snom.SpotBugsTask
21
import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
32
import groovy.lang.Closure
43

@@ -28,10 +27,6 @@ tasks.named<CheckForbiddenApis>("forbiddenApisMain") {
2827
failOnMissingClasses = false
2928
}
3029

31-
tasks.named<SpotBugsTask>("spotbugsMain") {
32-
extraArgs.add("-noClassOk")
33-
}
34-
3530
val minimumBranchCoverage by extra(0.7)
3631
val minimumInstructionCoverage by extra(0.8)
3732

0 commit comments

Comments
 (0)