Switch to new Sdk version properties

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta 2023-08-02 23:49:20 +08:00
parent cba065fe56
commit b330b7baa6
5 changed files with 15 additions and 15 deletions

View file

@ -14,11 +14,11 @@ def gitDescribe = { ->
} }
android { android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdk rootProject.ext.compileSdk
defaultConfig { defaultConfig {
minSdkVersion 32 // leave at 32 for robolectric tests minSdk 32 // leave at 32 for robolectric tests
targetSdkVersion rootProject.ext.targetSdkVersion targetSdk rootProject.ext.targetSdk
versionNameSuffix "-$gitDescribe" versionNameSuffix "-$gitDescribe"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments disableAnalytics: 'true' testInstrumentationRunnerArguments disableAnalytics: 'true'

View file

@ -20,9 +20,9 @@ plugins {
} }
ext { ext {
compileSdkVersion = 33 compileSdk = 33
minSdkVersion = 32 minSdk = 32
targetSdkVersion = 33 targetSdk = 33
} }
apply from: 'gradle/dependencies.gradle' apply from: 'gradle/dependencies.gradle'

View file

@ -9,12 +9,12 @@ plugins {
} }
android { android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdk rootProject.ext.compileSdk
defaultConfig { defaultConfig {
applicationId "org.calyxos.backup.contacts" applicationId "org.calyxos.backup.contacts"
minSdkVersion rootProject.ext.minSdkVersion minSdk rootProject.ext.minSdk
targetSdkVersion rootProject.ext.targetSdkVersion targetSdk rootProject.ext.targetSdk
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments disableAnalytics: 'true' testInstrumentationRunnerArguments disableAnalytics: 'true'

View file

@ -11,12 +11,12 @@ plugins {
} }
android { android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdk rootProject.ext.compileSdk
defaultConfig { defaultConfig {
applicationId "de.grobox.storagebackuptester" applicationId "de.grobox.storagebackuptester"
minSdkVersion rootProject.ext.minSdkVersion minSdk rootProject.ext.minSdk
targetSdkVersion rootProject.ext.targetSdkVersion targetSdk rootProject.ext.targetSdk
versionCode 20 versionCode 20
versionName "0.9.7" versionName "0.9.7"

View file

@ -13,11 +13,11 @@ plugins {
} }
android { android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdk rootProject.ext.compileSdk
defaultConfig { defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion minSdk rootProject.ext.minSdk
targetSdkVersion rootProject.ext.targetSdkVersion targetSdk rootProject.ext.targetSdk
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments disableAnalytics: 'true' testInstrumentationRunnerArguments disableAnalytics: 'true'