Skip to content

Commit 233ce7d

Browse files
BoDAnka
authored andcommitted
Switch to 2.2.20
1 parent b2bd81a commit 233ce7d

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

gradle/libraries.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ javaPoet = "1.13.0"
2929
jetbrains-annotations = "24.0.1"
3030
junit = "4.13.2"
3131
kotlin-plugin-min = "1.9.0"
32-
kotlin-plugin = "2.2.0"
33-
kotlin-plugin-max = "2.2.0"
32+
kotlin-plugin = "2.2.20-RC-227"
33+
kotlin-plugin-max = "2.2.20-RC-227"
3434
kotlinx-coroutines = "1.9.0"
3535
kotlinx-datetime = "0.5.0"
3636
kotlinx-serialization-runtime = "1.6.2"
37-
ksp = "2.2.0-RC3-2.0.2"
37+
ksp = "2.2.20-Beta2-2.0.2"
3838
ktor = "3.1.2"
3939
moshix = "0.14.1"
4040
node-fetch = "2.7.0"

scripts/bump-kotlin-nightlies.main.kts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ val BRANCH_NAME = "kotlin-nightlies"
1111

1212
fun bumpVersions() {
1313
val kotlinVersion =
14-
getLatestVersion("https://redirector.kotlinlang.org/maven/dev/org/jetbrains/kotlin/kotlin-stdlib/maven-metadata.xml", prefix = "2.2.0")
14+
getLatestVersion("https://redirector.kotlinlang.org/maven/dev/org/jetbrains/kotlin/kotlin-stdlib/maven-metadata.xml", prefix = "2.2.20-RC")
1515

1616
val useKspSnapshots = false
1717
val kspVersion = getLatestVersion(
@@ -20,7 +20,7 @@ fun bumpVersions() {
2020
} else {
2121
"https://repo1.maven.org/maven2/com/google/devtools/ksp/com.google.devtools.ksp.gradle.plugin/maven-metadata.xml"
2222
},
23-
prefix = "2.2.0"
23+
prefix = "2.2.20"
2424
)
2525

2626
File("gradle/libraries.toml").let { file ->
@@ -55,7 +55,14 @@ fun getLatestVersion(url: String, prefix: String? = null): String {
5555
.sortedBy {
5656
Version.parse(
5757
// Make it SemVer comparable
58-
it.replace("-dev-", "-dev.")
58+
it
59+
.replace("-dev-", "-dev.")
60+
.replace("-RC-", "-RC.")
61+
.replace("-RC2-", "-RC2.")
62+
.replace("-RC3-", "-RC3.")
63+
.replace("-Beta-", "-Beta.")
64+
.replace("-Beta2-", "-Beta2.")
65+
.replace("-Beta3-", "-Beta3.")
5966
)
6067
}
6168
.last()

0 commit comments

Comments
 (0)