Skip to content

Commit 10ca86c

Browse files
committed
Update Kotlin to 2.2.0
1 parent 55f8585 commit 10ca86c

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

examples/deps/bzl/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ kt_javac_options(
99
name = "default_javac_options",
1010
)
1111

12-
KOTLIN_LANGUAGE_LEVEL = "2.1"
12+
KOTLIN_LANGUAGE_LEVEL = "2.2"
1313

1414
define_kt_toolchain(
1515
name = "experimental_toolchain",

kotlin/internal/toolchains.bzl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ _kt_toolchain = rule(
130130
),
131131
"language_version": attr.string(
132132
doc = "this is the -language_version flag [see](https://kotlinlang.org/docs/reference/compatibility.html)",
133-
default = "2.1",
133+
default = "2.2",
134134
values = [
135135
"1.1",
136136
"1.2",
@@ -143,11 +143,12 @@ _kt_toolchain = rule(
143143
"1.9",
144144
"2.0",
145145
"2.1",
146+
"2.2",
146147
],
147148
),
148149
"api_version": attr.string(
149150
doc = "this is the -api_version flag [see](https://kotlinlang.org/docs/reference/compatibility.html).",
150-
default = "2.1",
151+
default = "2.2",
151152
values = [
152153
"1.1",
153154
"1.2",
@@ -160,6 +161,7 @@ _kt_toolchain = rule(
160161
"1.9",
161162
"2.0",
162163
"2.1",
164+
"2.2",
163165
],
164166
),
165167
"debug": attr.string_list(

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,25 @@ versions = struct(
7474
sha256 = "5ba1ac917a06b0f02daaa60d10abbedd2220d60216af670c67a45b91c74cf8bb",
7575
),
7676
KOTLIN_CURRENT_COMPILER_RELEASE = version(
77-
version = "2.1.21",
77+
version = "2.2.0",
7878
url_templates = [
7979
"https://github.com/JetBrains/kotlin/releases/download/v{version}/kotlin-compiler-{version}.zip",
8080
],
81-
sha256 = "1ba08a8b45da99339a0601134cc037b54cf85e9bc0edbe76dcbd27c2d684a977",
81+
sha256 = "1adb6f1a5845ba0aa5a59e412e44c8e405236b957de1a9683619f1dca3b16932",
8282
),
8383
KSP_CURRENT_COMPILER_PLUGIN_RELEASE = version(
84-
version = "2.1.21-2.0.1",
84+
version = "2.2.0-2.0.2",
8585
url_templates = [
8686
"https://github.com/google/ksp/releases/download/{version}/artifacts.zip",
8787
],
88-
sha256 = "44e965bb067b2bb5cd9184dab2c3dea6e3eab747d341c07645bb4c88f09e49c8",
88+
sha256 = "d8041e45e84dec7b7603186a1cf2ea7a8193fcedfe1f1e16c3e17adc5c3f1d6d",
8989
),
9090
KOTLIN_BUILD_TOOLS_IMPL = version(
91-
version = "2.1.20",
91+
version = "2.2.0",
9292
url_templates = [
9393
"https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-build-tools-impl/{version}/kotlin-build-tools-impl-{version}.jar",
9494
],
95-
sha256 = "6e94896e321603e3bfe89fef02478e44d1d64a3d25d49d0694892ffc01c60acf",
95+
sha256 = "4a87f3c0272f17285d60e98643ec219f53e9b5ad5a23f3bc4c543a8644f86f17",
9696
),
9797
RULES_ANDROID = version(
9898
version = "0.6.4",

0 commit comments

Comments
 (0)