Skip to content

Commit

Permalink
fix kotlin build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LeFrosch committed Oct 15, 2024
1 parent afd87c3 commit 51586a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module(
repo_name = "intellij_with_bazel",
)

register_toolchains("//third_party/kotlin:toolchain")

bazel_dep(
name = "platforms",
version = "0.0.10",
Expand Down
8 changes: 8 additions & 0 deletions third_party/kotlin/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")

define_kt_toolchain(
name = "toolchain",
api_version = "1.9",
language_version = "1.9",
jvm_target = "1.8",
)

0 comments on commit 51586a2

Please sign in to comment.