From 643715f00e62aa92b5153b1382d1e937f470875f Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 21 Dec 2023 18:19:22 -0500 Subject: [PATCH] Add `spotbugs` to `testCompileOnly` as well * Add `com.github.spotbugs` into Dependabot dev group --- .github/dependabot.yml | 1 + build.gradle | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9bbe8e593c..2bdcd5b648 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -16,6 +16,7 @@ updates: update-types: ["patch"] patterns: - "com.gradle.enterprise" + - "com.github.spotbugs" - "io.spring.*" - "org.ajoberstar.grgit" - "org.antora" diff --git a/build.gradle b/build.gradle index c0dcef8261..a29a844e36 100644 --- a/build.gradle +++ b/build.gradle @@ -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'