Add spotbugs to testCompileOnly as well

* Add `com.github.spotbugs` into Dependabot dev group
This commit is contained in:
Artem Bilan
2023-12-21 18:19:22 -05:00
parent 23c792e11b
commit 643715f00e
2 changed files with 4 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ updates:
update-types: ["patch"]
patterns:
- "com.gradle.enterprise"
- "com.github.spotbugs"
- "io.spring.*"
- "org.ajoberstar.grgit"
- "org.antora"

View File

@@ -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'