mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 14:35:04 -05:00
15 lines
648 B
Groovy
15 lines
648 B
Groovy
apply plugin: 'findbugs'
|
|
|
|
check.dependsOn 'findbugs'
|
|
task findbugs(type: FindBugs, dependsOn: ['compileDebugJava', 'compileDebugTestJava']) {
|
|
ignoreFailures = true
|
|
classes = fileTree('build/intermediates/classes/debug/') +
|
|
fileTree('build/intermediates/classes/test/debug/')
|
|
source = project.android.sourceSets.main.java.getSrcDirs() +
|
|
project.android.sourceSets.androidTest.java.getSrcDirs()
|
|
classpath = files()
|
|
effort = 'max'
|
|
includeFilter = file("$rootProject.projectDir/config/findbugs/include_filter.xml")
|
|
excludeFilter = file("$rootProject.projectDir/config/findbugs/exclude_filter.xml")
|
|
}
|