Skip to content

Commit 5ac8b59

Browse files
[Uber] Downgrade kotlin compiler/ksp version from 2.1->2.0 as needed by Uber codebase
1 parent 1159aca commit 5ac8b59

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

kotlin/internal/toolchains.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ _kt_toolchain = rule(
134134
),
135135
"language_version": attr.string(
136136
doc = "this is the -language_version flag [see](https://kotlinlang.org/docs/reference/compatibility.html)",
137-
default = "2.1",
137+
default = "2.0",
138138
values = [
139139
"1.1",
140140
"1.2",
@@ -151,7 +151,7 @@ _kt_toolchain = rule(
151151
),
152152
"api_version": attr.string(
153153
doc = "this is the -api_version flag [see](https://kotlinlang.org/docs/reference/compatibility.html).",
154-
default = "2.1",
154+
default = "2.0",
155155
values = [
156156
"1.1",
157157
"1.2",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ versions = struct(
5757
sha256 = "a9f923be58fbd32670a17f0b729b1df804af882fa57402165741cb26e5440ca1",
5858
),
5959
KOTLIN_CURRENT_COMPILER_RELEASE = version(
60-
version = "2.1.0",
60+
version = "2.0.0",
6161
url_templates = [
6262
"https://github.com/JetBrains/kotlin/releases/download/v{version}/kotlin-compiler-{version}.zip",
6363
],
64-
sha256 = "b6698d5728ad8f9edcdd01617d638073191d8a03139cc538a391b4e3759ad297",
64+
sha256 = "ef578730976154fd2c5968d75af8c2703b3de84a78dffe913f670326e149da3b",
6565
),
6666
KSP_CURRENT_COMPILER_PLUGIN_RELEASE = version(
67-
version = "2.1.0-1.0.28",
67+
version = "2.0.0-1.0.21",
6868
url_templates = [
6969
"https://github.com/google/ksp/releases/download/{version}/artifacts.zip",
7070
],
71-
sha256 = "fc27b08cadc061a4a989af01cbeccb613feef1995f4aad68f2be0f886a3ee251",
71+
sha256 = "84100aed5b63effa992ce6574b3ba47d2dbb78529752daa4c181e203117ba7de",
7272
),
7373
ANDROID = version(
7474
version = "a5e11f139ae25d93832e2604e1588bc97708d7e8",

0 commit comments

Comments
 (0)