According to the API documentation http://www.gradle.org/docs/current/dsl/org.gradle.api.plugins.quality.FindBugs.html#org.gradle.api.plugins.quality.FindBugs:maxHeapSize there is a property I can set on findbugs for maxHeapSize. When I try to use it like this:
project.findbugs {
ignoreFailures = true
reportLevel = 'high'
effort = 'min'
maxHeapSize = project.hasProperty('findBugsHeapSize')?project.findBugsHeapSize:'1g'
}
I get a dynamic property warning:
Deprecated dynamic property: "maxHeapSize" on "org.gradle.api.plugins.quality.FindBugsExtension_Decorated@51c434b8", value: "1g".
Deprecated dynamic property "maxHeapSize" created in multiple locations.
I checked the org.gradle.api.plugins.quality.FindBugsPlugin code for 1.11 and I didn’t see any reference to maxHeapSize (I didn’t investigate super classes), was this removed or changed?
Thanks