mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-11 00:08:58 +07:00
Update SDKs, library versions
This commit is contained in:
@ -9,7 +9,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk = 34
|
compileSdk = 35
|
||||||
sourceSets {
|
sourceSets {
|
||||||
getByName("main").apply {
|
getByName("main").apply {
|
||||||
manifest.srcFile("AndroidManifest.xml")
|
manifest.srcFile("AndroidManifest.xml")
|
||||||
@ -30,7 +30,7 @@ android {
|
|||||||
namespace = BuildConfig.identifier
|
namespace = BuildConfig.identifier
|
||||||
applicationId = BuildConfig.identifier
|
applicationId = BuildConfig.identifier
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34 // See #5044
|
targetSdk = 35
|
||||||
versionCode = BuildConfig.appCodeNumber
|
versionCode = BuildConfig.appCodeNumber
|
||||||
versionName = BuildConfig.appVersion
|
versionName = BuildConfig.appVersion
|
||||||
|
|
||||||
@ -141,11 +141,11 @@ tasks.register<JavaExec>("run") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("androidx.core:core-ktx:1.10.1")
|
implementation("androidx.core:core-ktx:1.15.0")
|
||||||
implementation("androidx.work:work-runtime-ktx:2.8.1")
|
implementation("androidx.work:work-runtime-ktx:2.10.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.
|
||||||
// If you want to upgrade this, check it's working by building an apk,
|
// If you want to upgrade this, check it's working by building an apk,
|
||||||
// or by running `./gradlew :android:assembleRelease` which does that
|
// or by running `./gradlew :android:assembleRelease` which does that
|
||||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
|
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user