Skip to content

Commit

Permalink
Add spotbugs to testCompileOnly as well
Browse files Browse the repository at this point in the history
* Add `com.github.spotbugs` into Dependabot dev group
  • Loading branch information
artembilan committed Dec 21, 2023
1 parent 23c792e commit 643715f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ updates:
update-types: ["patch"]
patterns:
- "com.gradle.enterprise"
- "com.github.spotbugs"
- "io.spring.*"
- "org.ajoberstar.grgit"
- "org.antora"
Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ configure(javaProjects) { subproject ->
api project(':spring-integration-core')
}

compileOnly "com.github.spotbugs:spotbugs-annotations:${spotbugs.toolVersion.get()}"
def spotbugsAnnotations = "com.github.spotbugs:spotbugs-annotations:${spotbugs.toolVersion.get()}"
compileOnly spotbugsAnnotations
testCompileOnly spotbugsAnnotations

testImplementation("org.awaitility:awaitility:$awaitilityVersion") {
exclude group: 'org.hamcrest'
Expand Down

0 comments on commit 643715f

Please sign in to comment.