I am trying to add gradle FindBugs plugin to my android project. In my modules build.gradle file I add the following code.
apply plugin: 'findbugs'
task findbugs(type: FindBugs) {
ignoreFailures = false
reportLevel = "medium"
classes = files("${project.rootDir}/app/build/intermediates/classes")
source = fileTree('src/main/java/')
classpath = files()
effort = "max"
}
I have set the effort to max. But I keep getting this error message
Error:default|more|max] set analysis effort level Error:Execution failed for task ':siddhi-android-platform:findbugs'.
> Failed to run Gradle FindBugs Worker
> Process 'Gradle FindBugs Worker 5' finished with non-zero exit value 1
How can I solve this?