From 9658a3013ffc48639fd903cdba169322363f7d87 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste <87148630+Jean-BaptisteC@users.noreply.github.com> Date: Tue, 26 Mar 2024 21:20:53 +0100 Subject: [PATCH] Update gradle (#21) --- app/build.gradle | 8 +++----- build.gradle | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 9923d8e..5360605 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/build.gradle b/build.gradle index b53001a..11e94af 100644 --- a/build.gradle +++ b/build.gradle @@ -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 }