Hi there,
in the following code, I’m setting an exclude pattern for all Findbugs tasks, but it doesn’t seem to work:
tasks.withType(FindBugs) {
exclude '**/org/jsense/serialize/protobuf/gen/*'
}
The relevant classes are still included.
I believe this is a bug. Note that using the exact same syntax for both the Checkstyle and PMD plugin works, so I don’t think it’s an issue with my project. I’ve got it to work using the “excludeFilter” property in the FindBugsExtension. Perhaps see the changes in this commit on Github for how I got it working: https://github.com/markuswustenberg/jsense/commit/45fa6164943d85f6390cb8ad258c2b35cf09b125
Thanks!