Update gradle (#21)

This commit is contained in:
Jean-Baptiste 2024-03-26 21:20:53 +01:00 committed by GitHub
parent 3ba1c906cb
commit 51c0bad937
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 7 deletions

View file

@ -34,11 +34,10 @@ android {
defaultConfig {
applicationId "net.foucry.pilldroid"
minSdkVersion defaultMinSdkVersion
targetSdkVersion defaultTargetSdkVersion
minSdk defaultMinSdkVersion
targetSdk defaultTargetSdkVersion
versionCode 302
versionName "v0.302-beta"
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
@ -59,7 +58,7 @@ android {
signingConfig signingConfigs.release
}
}
flavorDimensions "version"
flavorDimensions = ["version"]
productFlavors {
dev {
resValue "string", "app_name", "PillDroid dev"
@ -77,7 +76,6 @@ android {
targetCompatibility JavaVersion.VERSION_11
}
buildToolsVersion = "34.0.0"
namespace 'net.foucry.pilldroid'
allprojects {

View file

@ -19,7 +19,6 @@ ext {
compileSdkVersion = '28'
buildToolsVersion = '28.0.1'
var = '3.4.2'
//buildToolsVersion1 = '29.0.3'
defaultMinSdkVersion = 26
defaultTargetSdkVersion = 30
defaultVersionCode = 1
@ -35,7 +34,7 @@ allprojects {
}
}
task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}