diff --git a/spring-webmvc/spring-webmvc.gradle b/spring-webmvc/spring-webmvc.gradle index 906ca7cd979..4083584a37f 100644 --- a/spring-webmvc/spring-webmvc.gradle +++ b/spring-webmvc/spring-webmvc.gradle @@ -40,6 +40,9 @@ dependencies { optional("org.reactivestreams:reactive-streams") optional("org.webjars:webjars-locator-core") optional("org.webjars:webjars-locator-lite") + testCompileOnly("com.google.code.findbugs:findbugs") { // for groovy-templates + exclude group: "dom4j", module: "dom4j" + } testImplementation(testFixtures(project(":spring-beans"))) testImplementation(testFixtures(project(":spring-context"))) testImplementation(testFixtures(project(":spring-core")))