Increment sdk version to 31, to see if it passes Github build

This commit is contained in:
Yair Morgenstern 2022-08-08 00:02:15 +03:00
parent 068d903ee5
commit cf44f41372

View File

@ -7,7 +7,7 @@ plugins {
} }
android { android {
compileSdk = 30 compileSdk = 31
sourceSets { sourceSets {
getByName("main").apply { getByName("main").apply {
manifest.srcFile("AndroidManifest.xml") manifest.srcFile("AndroidManifest.xml")
@ -27,7 +27,7 @@ android {
defaultConfig { defaultConfig {
applicationId = "com.unciv.app" applicationId = "com.unciv.app"
minSdk = 21 minSdk = 21
targetSdk = 30 // See #5044 targetSdk = 31 // See #5044
versionCode = BuildConfig.appCodeNumber versionCode = BuildConfig.appCodeNumber
versionName = BuildConfig.appVersion 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 - // Updating to latest version would require upgrading sourceCompatibility and targetCompatibility to 1_8, and targetSdk to 31 -
// run `./gradlew build --scan` to see details // run `./gradlew build --scan` to see details
// Known Android Lint warning: "GradleDependency" // 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") implementation("androidx.work:work-runtime-ktx:2.6.0")
// Needed to convert e.g. Android 26 API calls to Android 21 // 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. // If you remove this run `./gradlew :android:lintDebug` to ensure everything's okay.