Skip to content

Commit

Permalink
Downgrade kotlin compiler/ksp version from 2.1->2.0 as needed by Uber…
Browse files Browse the repository at this point in the history
… codebase
  • Loading branch information
oliviernotteghem committed Jan 24, 2025
1 parent e495435 commit 7517d95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions kotlin/internal/toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ _kt_toolchain = rule(
),
"language_version": attr.string(
doc = "this is the -language_version flag [see](https://kotlinlang.org/docs/reference/compatibility.html)",
default = "2.1",
default = "2.0",
values = [
"1.1",
"1.2",
Expand All @@ -151,7 +151,7 @@ _kt_toolchain = rule(
),
"api_version": attr.string(
doc = "this is the -api_version flag [see](https://kotlinlang.org/docs/reference/compatibility.html).",
default = "2.1",
default = "2.0",
values = [
"1.1",
"1.2",
Expand Down
8 changes: 4 additions & 4 deletions src/main/starlark/core/repositories/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ versions = struct(
sha256 = "a9f923be58fbd32670a17f0b729b1df804af882fa57402165741cb26e5440ca1",
),
KOTLIN_CURRENT_COMPILER_RELEASE = version(
version = "2.1.0",
version = "2.0.0",
url_templates = [
"https://github.com/JetBrains/kotlin/releases/download/v{version}/kotlin-compiler-{version}.zip",
],
sha256 = "b6698d5728ad8f9edcdd01617d638073191d8a03139cc538a391b4e3759ad297",
sha256 = "ef578730976154fd2c5968d75af8c2703b3de84a78dffe913f670326e149da3b",
),
KSP_CURRENT_COMPILER_PLUGIN_RELEASE = version(
version = "2.1.0-1.0.28",
version = "2.0.0-1.0.21",
url_templates = [
"https://github.com/google/ksp/releases/download/{version}/artifacts.zip",
],
sha256 = "fc27b08cadc061a4a989af01cbeccb613feef1995f4aad68f2be0f886a3ee251",
sha256 = "84100aed5b63effa992ce6574b3ba47d2dbb78529752daa4c181e203117ba7de",
),
ANDROID = version(
version = "a5e11f139ae25d93832e2604e1588bc97708d7e8",
Expand Down

0 comments on commit 7517d95

Please sign in to comment.