mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 20:04:24 +07:00
build: unify coroutines version to buildconfig variable
This commit is contained in:
parent
55a3fa2a75
commit
e8c740da31
@ -1,4 +1,5 @@
|
||||
|
||||
import com.unciv.build.BuildConfig.coroutinesVersion
|
||||
import com.unciv.build.BuildConfig.gdxVersion
|
||||
import com.unciv.build.BuildConfig.kotlinVersion
|
||||
import com.unciv.build.BuildConfig.ktorVersion
|
||||
@ -65,7 +66,7 @@ project(":desktop") {
|
||||
|
||||
dependencies {
|
||||
"implementation"(project(":core"))
|
||||
"implementation"("com.badlogicgames.gdx:gdx-backend-lwjgl3:${gdxVersion}")
|
||||
"implementation"("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion")
|
||||
"implementation"("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop")
|
||||
|
||||
"implementation"("com.badlogicgames.gdx:gdx-tools:$gdxVersion") {
|
||||
@ -102,7 +103,7 @@ project(":android") {
|
||||
dependencies {
|
||||
"implementation"(project(":core"))
|
||||
"implementation"("com.badlogicgames.gdx:gdx-backend-android:$gdxVersion")
|
||||
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
|
||||
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion")
|
||||
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a")
|
||||
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a")
|
||||
natives("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86")
|
||||
@ -131,18 +132,14 @@ project(":core") {
|
||||
|
||||
dependencies {
|
||||
"implementation"("com.badlogicgames.gdx:gdx:$gdxVersion")
|
||||
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
|
||||
"implementation"("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
|
||||
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
||||
"implementation"("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
|
||||
|
||||
// Ktor core
|
||||
"implementation"("io.ktor:ktor-client-core:$ktorVersion")
|
||||
// CIO engine
|
||||
"implementation"("io.ktor:ktor-client-cio:$ktorVersion")
|
||||
// WebSocket support
|
||||
"implementation"("io.ktor:ktor-client-websockets:$ktorVersion")
|
||||
// Gzip transport encoding
|
||||
"implementation"("io.ktor:ktor-client-encoding:$ktorVersion")
|
||||
// Content negotiation
|
||||
"implementation"("io.ktor:ktor-client-content-negotiation:$ktorVersion")
|
||||
// JSON serialization and de-serialization
|
||||
"implementation"("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
||||
@ -157,7 +154,7 @@ project(":core") {
|
||||
dependencies {
|
||||
"implementation"(project(":core"))
|
||||
|
||||
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
|
||||
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
||||
|
||||
"implementation"("junit:junit:4.13.2")
|
||||
"implementation"("org.mockito:mockito-core:5.1.1")
|
||||
|
@ -9,5 +9,6 @@ object BuildConfig {
|
||||
|
||||
const val gdxVersion = "1.11.0"
|
||||
const val ktorVersion = "2.2.3"
|
||||
const val coroutinesVersion = "1.6.4"
|
||||
const val roboVMVersion = "2.3.1"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user