Skip to content

Commit

Permalink
Updated spotbugs-gradle-plugin to 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Dec 2, 2023
1 parent 3ceaf5f commit a6c066d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import com.github.spotbugs.snom.SpotBugsTask
import java.util.regex.Pattern
import org.ajoberstar.grgit.Grgit
Expand All @@ -7,7 +9,7 @@ import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
plugins {
id 'application'
id 'com.diffplug.spotless' version '6.23.2'
id 'com.github.spotbugs' version '5.2.5'
id 'com.github.spotbugs' version '6.0.1'
id 'net.ltgt.errorprone' version '3.1.0'
id 'org.ajoberstar.grgit' version '5.2.1'
id 'org.gradlex.extra-java-module-info' version '1.6'
Expand Down Expand Up @@ -191,11 +193,11 @@ tasks.register('generateModuleInfo') {
}

spotbugs {
baselineFile = file 'spotbugs-baseline.xml'
effort = 'max'
baselineFile = file('spotbugs-baseline.xml')
effort = Effort.valueOf('MAX')
extraArgs = ['-maxRank', '20']
onlyAnalyze = ['de.bwravencl.-']
reportLevel = 'Low'
reportLevel = Confidence.valueOf('LOW')
}

tasks.withType(SpotBugsTask).configureEach {
Expand Down

0 comments on commit a6c066d

Please sign in to comment.