Skip to content

Commit 5ff9c2a

Browse files
Copilottrask
andcommitted
Revert changes to ai.spotbugs-conventions.gradle.kts as requested
Co-authored-by: trask <[email protected]>
1 parent 660a9da commit 5ff9c2a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

buildSrc/src/main/kotlin/ai.spotbugs-conventions.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ spotbugs {
66
excludeFilter.set(
77
file("${rootProject.rootDir}/gradle/spotbugs-exclude.xml")
88
)
9-
effort.set(com.github.spotbugs.snom.Effort.MIN)
109
omitVisitors.addAll(
1110
// we only use spotbugs for the findsecbugs plugin, and suppress anything else that gets flagged
1211
// since we use errorprone instead for this kind of static analysis
@@ -32,13 +31,6 @@ tasks {
3231
named("spotbugsTest") {
3332
enabled = false
3433
}
35-
36-
withType<com.github.spotbugs.snom.SpotBugsTask>().configureEach {
37-
// SpotBugs 6.2.x fails with exit code 3 when classes needed for analysis are missing
38-
// The missing classes are typically lambda method references that don't affect security analysis
39-
// Since we only use SpotBugs for findsecbugs security plugin, this is safe to ignore
40-
ignoreFailures = true
41-
}
4234
}
4335

4436
dependencies {

0 commit comments

Comments
 (0)