v2.1.8
Release notes for v2.1.8
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.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
- Support Starlark rules_android by @Bencodes in #1333
- Fix typo in kt_android_library_impl by @Bencodes in #1336
- Ensure that associates are being included in the source dep_infos list by @Bencodes in #1337
- Use the jacoco_coverage_runner provided by remote_java_tools by @Bencodes in #1339
- Fix Android test coverage support by @Bencodes in #1338
Full Changelog: v2.1.7...v2.1.8