mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Increment sdk version to 31, to see if it passes Github build
This commit is contained in:
parent
068d903ee5
commit
cf44f41372
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user