From b330b7baa6c0ebb6e6a702f0d74ffb30b222ec34 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 2 Aug 2023 23:49:20 +0800 Subject: [PATCH] Switch to new Sdk version properties Signed-off-by: Aayush Gupta --- app/build.gradle | 6 +++--- build.gradle | 6 +++--- contactsbackup/build.gradle | 6 +++--- storage/demo/build.gradle | 6 +++--- storage/lib/build.gradle | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index dc8f2f55..c943e8ba 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,11 +14,11 @@ def gitDescribe = { -> } android { - compileSdkVersion rootProject.ext.compileSdkVersion + compileSdk rootProject.ext.compileSdk defaultConfig { - minSdkVersion 32 // leave at 32 for robolectric tests - targetSdkVersion rootProject.ext.targetSdkVersion + minSdk 32 // leave at 32 for robolectric tests + targetSdk rootProject.ext.targetSdk versionNameSuffix "-$gitDescribe" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments disableAnalytics: 'true' diff --git a/build.gradle b/build.gradle index 96e9d4ff..b25c5dd0 100644 --- a/build.gradle +++ b/build.gradle @@ -20,9 +20,9 @@ plugins { } ext { - compileSdkVersion = 33 - minSdkVersion = 32 - targetSdkVersion = 33 + compileSdk = 33 + minSdk = 32 + targetSdk = 33 } apply from: 'gradle/dependencies.gradle' diff --git a/contactsbackup/build.gradle b/contactsbackup/build.gradle index 3ee22792..f0f1f5e1 100644 --- a/contactsbackup/build.gradle +++ b/contactsbackup/build.gradle @@ -9,12 +9,12 @@ plugins { } android { - compileSdkVersion rootProject.ext.compileSdkVersion + compileSdk rootProject.ext.compileSdk defaultConfig { applicationId "org.calyxos.backup.contacts" - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion + minSdk rootProject.ext.minSdk + targetSdk rootProject.ext.targetSdk testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments disableAnalytics: 'true' diff --git a/storage/demo/build.gradle b/storage/demo/build.gradle index 9c983784..b42c797a 100644 --- a/storage/demo/build.gradle +++ b/storage/demo/build.gradle @@ -11,12 +11,12 @@ plugins { } android { - compileSdkVersion rootProject.ext.compileSdkVersion + compileSdk rootProject.ext.compileSdk defaultConfig { applicationId "de.grobox.storagebackuptester" - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion + minSdk rootProject.ext.minSdk + targetSdk rootProject.ext.targetSdk versionCode 20 versionName "0.9.7" diff --git a/storage/lib/build.gradle b/storage/lib/build.gradle index a4d6e129..e2f032d5 100644 --- a/storage/lib/build.gradle +++ b/storage/lib/build.gradle @@ -13,11 +13,11 @@ plugins { } android { - compileSdkVersion rootProject.ext.compileSdkVersion + compileSdk rootProject.ext.compileSdk defaultConfig { - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion + minSdk rootProject.ext.minSdk + targetSdk rootProject.ext.targetSdk testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments disableAnalytics: 'true'