Skip to content

v2.1.7

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Jun 19:56
· 19 commits to master since this release
cb8b7be

Release notes for v2.1.7

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

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 = "70305281f3714e053dca28f5dd42b2d8c683284e9a09af7e2c39b7bd40cc2eeb",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.7/rules_kotlin-v2.1.7.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.6...v2.1.7