Skip to content

Commit a20b95f

Browse files
committed
Reverted Kotlin version to 2.2.21
- Kotlin only offers support for one version behind - In that case, if the lib is running on 2.3, the users must be at least on 2.2 - As our goal is to support a wider range or versions, at least versions release ~1y in the past - To achieve that goal, we will keep the kotlin version one version behind of latest stable - In other words, when Kotlin is in 2.3.x we will use 2.2.x to have support for the 2.1.x version, which is roughly 1y old - Ideally, we can bump to the next major when the .20 release is out for a larger lifecycle - So when Kotlin release 2.4, we don't bump to 2.3 directly, we should wait until 2.4.20, and update to the 2.3.2x
1 parent 718deef commit a20b95f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

gradle/libs.versions.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[versions]
2-
kotlin = "2.3.20"
3-
kotlinxSerializationJson = "1.10.0"
2+
kotlin = "2.2.21"
3+
kotlinxSerializationJson = "1.9.0"
44
kotlinxCoroutines = "1.10.2"
5-
kotlinxCoroutinesTest = "1.10.2"
65
cryptography = "0.5.0"
76
kotest = "6.1.6"
87
ksp = "2.3.6"
@@ -19,7 +18,7 @@ cryptography-provider-optimal = { module = "dev.whyoleg.cryptography:cryptograph
1918
cryptography-provider-web = { module = "dev.whyoleg.cryptography:cryptography-provider-webcrypto", version.ref = "cryptography" }
2019

2120
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
22-
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutinesTest" }
21+
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
2322
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson"}
2423

2524
kotest-plugin = { module = "io.kotest:io.kotest.gradle.plugin", version.ref = "kotest" }

0 commit comments

Comments
 (0)