Skip to content

Commit

Permalink
add spotbugs to build.gradle implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Jan 27, 2024
1 parent 3e58147 commit 2b6e26f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build Releases
on:
release:
types: [published]
push:
branches:
- 'feature/airgap-on-1.3.2'

jobs:
release:
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id "application"
id "checkstyle"
// Latest version at: https://github.com/spotbugs/spotbugs-gradle-plugin/tags
id "com.github.spotbugs" version "5.0.9"
id "com.github.spotbugs" version "6.0.3"
id "idea"
id "java-library"
id "org.beryx.jlink" version "2.25.0"
Expand All @@ -23,6 +23,7 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
implementation 'org.bouncycastle:bc-fips:1.0.2.3'
implementation "com.github.spotbugs:spotbugs:4.8.3"
}

// ### Application plugin settings
Expand Down Expand Up @@ -59,7 +60,7 @@ System.setProperty("org.checkstyle.google.suppressionfilter.config",

spotbugs {
// Latest version at: https://github.com/spotbugs/spotbugs/tags
toolVersion = '4.7.1'
toolVersion = '4.8.3'
excludeFilter = file("config/spotbugs/exclude.xml")
}

Expand Down

0 comments on commit 2b6e26f

Please sign in to comment.