From cf44f41372879a81268af6f1fb61acb48d155d35 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Mon, 8 Aug 2022 00:02:15 +0300 Subject: [PATCH] Increment sdk version to 31, to see if it passes Github build --- android/build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index b99f268179..3f4e26af47 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } android { - compileSdk = 30 + compileSdk = 31 sourceSets { getByName("main").apply { manifest.srcFile("AndroidManifest.xml") @@ -27,7 +27,7 @@ android { defaultConfig { applicationId = "com.unciv.app" minSdk = 21 - targetSdk = 30 // See #5044 + targetSdk = 31 // See #5044 versionCode = BuildConfig.appCodeNumber versionName = BuildConfig.appVersion @@ -129,7 +129,7 @@ dependencies { // Updating to latest version would require upgrading sourceCompatibility and targetCompatibility to 1_8, and targetSdk to 31 - // run `./gradlew build --scan` to see details // Known Android Lint warning: "GradleDependency" - implementation("androidx.core:core-ktx:1.6.0") + implementation("androidx.core:core-ktx:1.7.0") implementation("androidx.work:work-runtime-ktx:2.6.0") // Needed to convert e.g. Android 26 API calls to Android 21 // If you remove this run `./gradlew :android:lintDebug` to ensure everything's okay.