Skip to content

Commit

Permalink
build.gradle: remove no longer necessary global variables for spotbug…
Browse files Browse the repository at this point in the history
…s configuration
  • Loading branch information
bwRavencl committed Sep 20, 2023
1 parent f9a7fd5 commit 3386388
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ ext {

gamecontrollerdbFile = "$resourcesDir/gamecontrollerdb.txt"

spotbugsBaselineFile = 'spotbugs-baseline.xml'
spotbugsEffort = 'max'
spotbugsMaxRank = '20'
spotbugsReportLevel = 'Low'

arch = DefaultNativePlatform.currentArchitecture
distAppendix = "${os.toFamilyName()}-$arch.name"

Expand Down Expand Up @@ -257,11 +252,11 @@ tasks.withType(JavaCompile).configureEach {
}

spotbugs {
baselineFile = file(spotbugsBaselineFile)
effort = spotbugsEffort
extraArgs = ['-maxRank', spotbugsMaxRank]
baselineFile = file('spotbugs-baseline.xml')
effort = 'max'
extraArgs = ['-maxRank', '20']
onlyAnalyze = ['de.bwravencl.-']
reportLevel = spotbugsReportLevel
reportLevel = 'Low'
}

tasks.withType(SpotBugsTask) {
Expand Down

0 comments on commit 3386388

Please sign in to comment.