mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 16:34:24 +07:00
Gradle 8.2->8.7, AGP 8.2.2->8.5.0 (#12325)
* Gradle 8.2->8.7, AGP 8.2.2->8.5.0 * *Conditionally* add android project only if ANDROID_HOME is set
This commit is contained in:
parent
591805b26b
commit
a999ba8f28
@ -19,7 +19,7 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${com.unciv.build.BuildConfig.kotlinVersion}")
|
||||
classpath("com.android.tools.build:gradle:8.2.2")
|
||||
classpath("com.android.tools.build:gradle:8.5.0")
|
||||
}
|
||||
}
|
||||
|
||||
@ -90,7 +90,8 @@ project(":server") {
|
||||
|
||||
}
|
||||
|
||||
project(":android") {
|
||||
if (System.getenv("ANDROID_HOME") != null) {
|
||||
project(":android") {
|
||||
apply(plugin = "com.android.application")
|
||||
apply(plugin = "kotlin-android")
|
||||
|
||||
@ -107,6 +108,7 @@ project(":android") {
|
||||
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86")
|
||||
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
@ -1 +1,2 @@
|
||||
include("desktop", "android", "core", "tests", "server")
|
||||
include("desktop", "core", "tests", "server")
|
||||
if (System.getenv("ANDROID_HOME") != null) include("android")
|
||||
|
Loading…
Reference in New Issue
Block a user