mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 01:39:40 +07:00
Android gradle update - explicitly state build tools version, remove desugaring
This commit is contained in:
@ -65,13 +65,12 @@ android {
|
|||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
isCoreLibraryDesugaringEnabled = true
|
|
||||||
}
|
}
|
||||||
androidResources {
|
androidResources {
|
||||||
// Don't add local save files and fonts to release, obviously
|
// Don't add local save files and fonts to release, obviously
|
||||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
||||||
}
|
}
|
||||||
|
buildToolsVersion = "30.0.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -130,5 +129,4 @@ dependencies {
|
|||||||
// Known Android Lint warning: "GradleDependency"
|
// Known Android Lint warning: "GradleDependency"
|
||||||
implementation("androidx.core:core-ktx:1.6.0")
|
implementation("androidx.core:core-ktx:1.6.0")
|
||||||
implementation("androidx.work:work-runtime-ktx:2.6.0")
|
implementation("androidx.work:work-runtime-ktx:2.6.0")
|
||||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user