Skip to content

v2.1.8

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jun 03:43
· 8 commits to master since this release
55f8585

Release notes for v2.1.8

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.8")

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 = "e6ca53740703a709a017bf4441f260007a6075741af65da1b79bc31ada9a570a",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.8/rules_kotlin-v2.1.8.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

Full Changelog: v2.1.7...v2.1.8