Skip to content

v2.1.6

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jun 19:04
· 20 commits to master since this release
9734aa6

Release notes for v2.1.6

Using Bzlmod with Bazel 7

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_kotlin", version = "2.1.6")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_kotlin",
    sha256 = "1b6febb7081f6b46070c41f601f567bff4c80c05494fd191076515a10c19aec9",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.6/rules_kotlin-v2.1.6.tar.gz",
)

load("@rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
kotlin_repositories() # if you want the default. Otherwise see custom kotlinc distribution below

load("@rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
kt_register_toolchains() # to use the default toolchain, otherwise see toolchains below

What's Changed

New Contributors

Full Changelog: v2.1.4...v2.1.6