Skip to content

Commit

Permalink
Moved toolchain definition
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanvuong2021 committed Aug 12, 2024
1 parent e0eb1df commit f0192b7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 0 additions & 8 deletions BUILD.bazel

This file was deleted.

2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ maven.install(
)
use_repo(maven, "maven")

register_toolchains("//:kotlin_toolchain")
register_toolchains("//build/rules_kotlin:kotlin_toolchain")

oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions build/rules_kotlin/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load("@rules_kotlin//kotlin:core.bzl", "define_kt_toolchain")

package(default_visibility = ["//visibility:public"])

define_kt_toolchain(
name = "kotlin_toolchain",
jvm_target = "11",
)

0 comments on commit f0192b7

Please sign in to comment.