v2.1.7
Release notes for v2.1.7
Using Bzlmod with Bazel 7
- Enable with
common --enable_bzlmod
in.bazelrc
. - 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
- Fix #1330 : Include associates transitive compile jars in classpath by @rbeazleyspot in #1331
Full Changelog: v2.1.6...v2.1.7