[GRADLE-2473] Findbugs task does not honor Findbugs extension properties. Created: 12/Sep/12 Updated: 04/Jan/13 Resolved: 12/Sep/12 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.2-rc-1 |
| Fix Version/s: | 1.3-rc-1 |
| Type: | Bug | ||
| Reporter: | Gradle Forums | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Description |
|
My build.gradle contains: apply plugin: 'findbugs' This is the same exclude filter that we use in our Maven projects and we get a clean Findbugs run. However, I got Findbugs errors with gradle. To verify if excludeFilter was being honored, I changed the contents to: <FindBugsFilter> The above should match ALL packages and effectively exclude everything from Findbugs. Even with the above filter, I get the exact same results as before which leads me to believe that excludeFilter is not really being honored. ------------------------------------------------------------ Gradle build time: Tuesday, September 4, 2012 5:49:54 PM UTC |
| Comments |
| Comment by Gradle Forums [ 12/Sep/12 ] |
|
Hello, findbugs { you have to declare it explicitly for your findbugsMain task: findbugsMain { This is already fixed on master cheers, |
| Comment by Gradle Forums [ 12/Sep/12 ] |
|
Ah of course, thanks Rene! |
| Comment by Gradle Forums [ 12/Sep/12 ] |
|
BTW, the documentation here is misleading: [1]http://gradle.org/docs/release-candid... |
| Comment by Gradle Forums [ 12/Sep/12 ] |
|
thanks for pointing this out. much appreciated! |