Skip to content

Avoid Gradle build warnings about @SuppressFBWarnings from FindBugs #34418

Closed
@sbrannen

Description

@sbrannen

Overview

Even though the spring-webmvc.gradle build file already configures a compileOnly("com.google.code.findbugs:findbugs") dependency, when we run the Gradle build we currently encounter the following warnings related to @SuppressFBWarnings from FindBugs.

> Task :spring-webmvc:compileTestJava
/Users/<...>/.gradle/caches/modules-2/files-2.1/org.apache.groovy/groovy-templates/4.0.24/5dd5db2585048581fdf96023253e596c381d161c/groovy-templates-4.0.24.jar(/groovy/text/TemplateEngine.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found
/Users/<...>/.gradle/caches/modules-2/files-2.1/org.apache.groovy/groovy-templates/4.0.24/5dd5db2585048581fdf96023253e596c381d161c/groovy-templates-4.0.24.jar(/groovy/text/TemplateEngine.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
2 warnings

Related Issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions