New SDK versions, gradle properties, and androidx - this seems to solve the previous problems!

This commit is contained in:
Yair Morgenstern 2021-05-08 23:24:57 +03:00
parent 619d02d2b6
commit 60fb38dfc3
2 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,7 @@ plugins {
}
android {
compileSdkVersion(29)
compileSdkVersion(30)
sourceSets {
getByName("main").apply {
manifest.srcFile("AndroidManifest.xml")
@ -25,7 +25,7 @@ android {
defaultConfig {
applicationId = "com.unciv.app"
minSdkVersion(14)
targetSdkVersion(29)
targetSdkVersion(30)
versionCode = BuildConfig.appCodeNumber
versionName = BuildConfig.appVersion
@ -129,8 +129,8 @@ tasks.register<JavaExec>("run") {
}
dependencies {
implementation("androidx.core:core:1.2.0")
implementation("androidx.work:work-runtime-ktx:2.3.2")
implementation("androidx.core:core-ktx:1.3.2")
implementation("androidx.work:work-runtime-ktx:2.6.0-alpha02")
}
// sets up the Android Eclipse project, using the old Ant based build.

2
gradle.properties Normal file
View File

@ -0,0 +1,2 @@
android.useAndroidX=true
android.enableJetifier=true