diff --git a/build.gradle b/build.gradle index c2dcf605b7d..a89ca6e2770 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ plugins { id "signing" id "checkstyle" id "jacoco" - id "com.github.spotbugs" version "2.0.1" + id "com.github.spotbugs" version "4.6.0" id "io.codearte.nexus-staging" version "0.21.0" id "me.champeau.gradle.jmh" version "0.4.6" } @@ -210,7 +210,7 @@ subprojects { // Configure the bug filter for spotbugs. spotbugs { effort = "max" - excludeFilterConfig = project.resources.text.fromFile("${project.rootDir}/config/spotbugs/filter.xml") + excludeFilter = file("${project.rootDir}/config/spotbugs/filter.xml") } }