Skip to content

Commit c227a1e

Browse files
authored
Upgrade Kotlin to 2.1.21, KSP to 2.1.21-2.0.1 (#1323)
* Upgrade Kotlin to 2.1.21 * Update docs
1 parent fb30529 commit c227a1e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/kotlin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,8 @@ Call this in the WORKSPACE file to setup the Kotlin rules.
587587
| <a id="kotlin_repositories-is_bzlmod"></a>is_bzlmod | <p align="center"> - </p> | `False` |
588588
| <a id="kotlin_repositories-compiler_repository_name"></a>compiler_repository_name | for the kotlinc compiler repository. | `"com_github_jetbrains_kotlin"` |
589589
| <a id="kotlin_repositories-ksp_repository_name"></a>ksp_repository_name | <p align="center"> - </p> | `"com_github_google_ksp"` |
590-
| <a id="kotlin_repositories-compiler_release"></a>compiler_release | version provider from versions.bzl. | `struct(sha256 = "a118197b0de55ffab2bc8d5cd03a5e39033cfb53383d6931bc761dec0784891a", url_templates = ["https://github.com/JetBrains/kotlin/releases/download/v{version}/kotlin-compiler-{version}.zip"], version = "2.1.20")` |
591-
| <a id="kotlin_repositories-ksp_compiler_release"></a>ksp_compiler_release | (internal) version provider from versions.bzl. | `struct(sha256 = "9f74659d447d3df29cabe0c8ee068810af313a584c1bbdde821f9894127f26e0", url_templates = ["https://github.com/google/ksp/releases/download/{version}/artifacts.zip"], version = "2.1.20-1.0.32")` |
590+
| <a id="kotlin_repositories-compiler_release"></a>compiler_release | version provider from versions.bzl. | `struct(sha256 = "1ba08a8b45da99339a0601134cc037b54cf85e9bc0edbe76dcbd27c2d684a977", url_templates = ["https://github.com/JetBrains/kotlin/releases/download/v{version}/kotlin-compiler-{version}.zip"], version = "2.1.21")` |
591+
| <a id="kotlin_repositories-ksp_compiler_release"></a>ksp_compiler_release | (internal) version provider from versions.bzl. | `struct(sha256 = "44e965bb067b2bb5cd9184dab2c3dea6e3eab747d341c07645bb4c88f09e49c8", url_templates = ["https://github.com/google/ksp/releases/download/{version}/artifacts.zip"], version = "2.1.21-2.0.1")` |
592592

593593

594594
<a id="versions.use_repository"></a>

src/main/starlark/core/repositories/versions.bzl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,18 @@ versions = struct(
7474
sha256 = "5ba1ac917a06b0f02daaa60d10abbedd2220d60216af670c67a45b91c74cf8bb",
7575
),
7676
KOTLIN_CURRENT_COMPILER_RELEASE = version(
77-
version = "2.1.20",
77+
version = "2.1.21",
7878
url_templates = [
7979
"https://github.com/JetBrains/kotlin/releases/download/v{version}/kotlin-compiler-{version}.zip",
8080
],
81-
sha256 = "a118197b0de55ffab2bc8d5cd03a5e39033cfb53383d6931bc761dec0784891a",
81+
sha256 = "1ba08a8b45da99339a0601134cc037b54cf85e9bc0edbe76dcbd27c2d684a977",
8282
),
8383
KSP_CURRENT_COMPILER_PLUGIN_RELEASE = version(
84-
version = "2.1.20-1.0.32",
84+
version = "2.1.21-2.0.1",
8585
url_templates = [
8686
"https://github.com/google/ksp/releases/download/{version}/artifacts.zip",
8787
],
88-
sha256 = "9f74659d447d3df29cabe0c8ee068810af313a584c1bbdde821f9894127f26e0",
88+
sha256 = "44e965bb067b2bb5cd9184dab2c3dea6e3eab747d341c07645bb4c88f09e49c8",
8989
),
9090
RULES_ANDROID = version(
9191
version = "0.6.4",
@@ -111,25 +111,25 @@ versions = struct(
111111
sha256 = "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38",
112112
),
113113
KOTLINX_SERIALIZATION_CORE_JVM = version(
114-
version = "1.6.3",
114+
version = "1.8.1",
115115
url_templates = [
116116
"https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-core-jvm/{version}/kotlinx-serialization-core-jvm-{version}.jar",
117117
],
118-
sha256 = "29c821a8d4e25cbfe4f2ce96cdd4526f61f8f4e69a135f9612a34a81d93b65f1",
118+
sha256 = "3565b6d4d789bf70683c45566944287fc1d8dc75c23d98bd87d01059cc76f2b3",
119119
),
120120
KOTLINX_SERIALIZATION_JSON = version(
121-
version = "1.6.3",
121+
version = "1.8.1",
122122
url_templates = [
123123
"https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-json/{version}/kotlinx-serialization-json-{version}.jar",
124124
],
125-
sha256 = "8c0016890a79ab5980dd520a5ab1a6738023c29aa3b6437c482e0e5fdc06dab1",
125+
sha256 = "58adf3358a0f99dd8d66a550fbe19064d395e0d5f7f1e46515cd3470a56fbbb0",
126126
),
127127
KOTLINX_SERIALIZATION_JSON_JVM = version(
128-
version = "1.6.3",
128+
version = "1.8.1",
129129
url_templates = [
130130
"https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-json-jvm/{version}/kotlinx-serialization-json-jvm-{version}.jar",
131131
],
132-
sha256 = "d3234179bcff1886d53d67c11eca47f7f3cf7b63c349d16965f6db51b7f3dd9a",
132+
sha256 = "8769e5647557e3700919c32d508f5c5dad53c5d8234cd10846354fbcff14aa24",
133133
),
134134
use_repository = _use_repository,
135135
)

0 commit comments

Comments
 (0)