From ce073283a056a9102a988c47364888de6d5ce0ae Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 19 Aug 2024 22:16:57 +0200 Subject: [PATCH] Updated Kotlin to 1.9 and all it's accompanying libraries (coroutines, serialization, ...) to latest compatible version --- build.gradle | 2 +- fints4k/build.gradle | 2 +- gradle.properties | 15 ++++++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index bf391dba..f5cf9aa8 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ buildscript { } dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22" } } diff --git a/fints4k/build.gradle b/fints4k/build.gradle index 8398b8b2..cf486f58 100644 --- a/fints4k/build.gradle +++ b/fints4k/build.gradle @@ -63,7 +63,7 @@ kotlin { dependencies { api("org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDateTimeVersion") - implementation("net.codinux.log:kmp-log:1.5.1") + implementation("net.codinux.log:kmp-log:$klfVersion") implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlinxSerializationVersion") diff --git a/gradle.properties b/gradle.properties index f99ba83b..76c7601b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,12 +5,17 @@ org.gradle.parallel=true #org.gradle.workers.max=8 -kotlinVersion=1.8.20 +kotlinVersion=1.9.22 -coroutinesVersion=1.7.2 -ktorVersion=2.3.1 -kotlinxDateTimeVersion=0.4.0 -kotlinxSerializationVersion=1.5.1 +# Coroutines 1.9 (currently RC) requires Kotlin 2.0 +coroutinesVersion=1.8.1 +# Ktor 3.x (RC right now) requires Kotlin 2.0 +ktorVersion=2.3.12 +kotlinxDateTimeVersion=0.6.0 +# kotlinx-serialization 1.7.x requires Kotlin 2.0 +kotlinxSerializationVersion=1.6.3 + +klfVersion=1.5.1 android.useAndroidX=true android.enableJetifier=true \ No newline at end of file