upgrade gradle

This commit is contained in:
edr
2023-09-30 13:58:23 +02:00
parent aacadfd689
commit 0fc379c25b
7 changed files with 14 additions and 48 deletions

View File

@@ -1,10 +1,4 @@
apply plugin: 'com.android.application'
apply plugin: 'findbugs'
findbugs {
sourceSets = []
ignoreFailures = false
}
android {
compileSdkVersion 26
@@ -12,9 +6,10 @@ android {
defaultConfig {
applicationId "de.rochefort.childmonitor"
minSdkVersion 21
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 26
versionCode 5
versionName "0.5"
versionName "1.0"
}
buildTypes {
@@ -24,26 +19,12 @@ android {
}
}
lintOptions {
abortOnError false
}
dependencies {
compile "com.android.support:support-compat:26.1.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
}
}
}