Gradle build tools upgrade (#6085)

* Gradle build tools upgrade
Apparently the magic is rewriting a specific line in the Android build file and downloading Android SDK 30.0.3

* Added wiki change, isn't that nice :)
This commit is contained in:
Yair Morgenstern 2022-01-31 15:05:42 +02:00 committed by GitHub
parent 45e96b948a
commit 16855f66f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ android {
}
lint {
disable("MissingTranslation")
disable.add("MissingTranslation")
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8

View File

@ -26,7 +26,7 @@ buildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${com.unciv.build.BuildConfig.kotlinVersion}")
classpath("de.richsource.gradle.plugins:gwt-gradle-plugin:0.6")
classpath("com.android.tools.build:gradle:7.0.4")
classpath("com.android.tools.build:gradle:7.1.0")
classpath("com.mobidevelop.robovm:robovm-gradle-plugin:2.3.1")
// This is for wrapping the .jar file into a standalone executable

View File

@ -12,7 +12,7 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro
* A new install may not be able to do the initial sync - this comes in the form of `Unable to find method ''void org.apache.commons.compress.archivers.zip.ZipFile.<init>(java.nio.channels.SeekableByteChannel)''` errors when you try to sync. If you have this problem go into File > Settings > Appearance & Behavior > System Settings > Android SDK
* Click "SDK Tools"
* Select "Show Package Details" in the bottom right
* Choose version 30.0.2 under "Android SDK Build-Tools 31"
* Choose version 30.0.3 under "Android SDK Build-Tools <whatever version you have>"
* Click "Apply"
* In Android Studio, Run > Edit configurations.
* Click "+" to add a new configuration