mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-23 01:04:24 +07:00
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:
parent
45e96b948a
commit
16855f66f6
@ -58,7 +58,7 @@ android {
|
|||||||
|
|
||||||
}
|
}
|
||||||
lint {
|
lint {
|
||||||
disable("MissingTranslation")
|
disable.add("MissingTranslation")
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
@ -26,7 +26,7 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${com.unciv.build.BuildConfig.kotlinVersion}")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${com.unciv.build.BuildConfig.kotlinVersion}")
|
||||||
classpath("de.richsource.gradle.plugins:gwt-gradle-plugin:0.6")
|
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")
|
classpath("com.mobidevelop.robovm:robovm-gradle-plugin:2.3.1")
|
||||||
|
|
||||||
// This is for wrapping the .jar file into a standalone executable
|
// This is for wrapping the .jar file into a standalone executable
|
||||||
|
@ -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
|
* 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"
|
* Click "SDK Tools"
|
||||||
* Select "Show Package Details" in the bottom right
|
* 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"
|
* Click "Apply"
|
||||||
* In Android Studio, Run > Edit configurations.
|
* In Android Studio, Run > Edit configurations.
|
||||||
* Click "+" to add a new configuration
|
* Click "+" to add a new configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user