Created
November 17, 2015 17:49
-
-
Save rafaeltoledo/2f103da99a4b8eb6e84f to your computer and use it in GitHub Desktop.
findbugs.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task findbugs(type: FindBugs, dependsOn: assembleDebug) { | |
ignoreFailures = false | |
effort = 'max' | |
reportLevel = 'high' | |
excludeFilter = new File("${project.rootDir}/config/findbugs-filter.xml") | |
classes = files("${project.rootDir}/app/build/intermediates/classes") | |
source 'src' | |
include '**/*.java' | |
exclude '**/gen/**' | |
reports { | |
xml.enabled = false | |
html.enabled = true | |
html { | |
destination "$project.buildDir/reports/findbugs/findbugs.html" | |
} | |
} | |
classpath = files() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment