47 lines
953 B
Groovy
47 lines
953 B
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'findbugs'
|
|
|
|
findbugs {
|
|
sourceSets = []
|
|
ignoreFailures = false
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
|
|
defaultConfig {
|
|
applicationId "protect.babymonitor"
|
|
minSdkVersion 16
|
|
targetSdkVersion 17
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "com.android.support:support-compat:25.4.0"
|
|
}
|
|
}
|
|
|
|
task findbugs(type: FindBugs, dependsOn: 'assembleDebug') {
|
|
|
|
description 'Run findbugs'
|
|
group 'verification'
|
|
|
|
classes = fileTree('build/intermediates/classes/debug/')
|
|
source = fileTree('src/main/java')
|
|
classpath = files()
|
|
|
|
effort = 'max'
|
|
|
|
excludeFilter = file("./config/findbugs/exclude.xml")
|
|
|
|
reports {
|
|
xml.enabled = false
|
|
html.enabled = true
|
|
}
|
|
} |