Release notes for v2.1.9
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.9")
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 = "21b2b350f4856000bd7e3eb55befe37219b237fb37cc3ba272588c7eee4b4cea",
url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.9/rules_kotlin-v2.1.9.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
- Add support for experimental
removeDebugInfo
flag by @ThomasCJY in #1342 - Add support for env_inherit by @gibfahn in #942
- Fix non-file inclusion into runfiles for data. by @restingbull in #1349
- Shard integration tests by @restingbull in #1350
- Fix doc in kotlin jvm.bzl by @ThomasCJY in #1355
- Allow multiple kt_plugin_cfg by @restingbull in #1353
- Generate KSP classes jar as output by @smocherla-brex in #1329
New Contributors
- @gibfahn made their first contribution in #942
- @smocherla-brex made their first contribution in #1329
Full Changelog: v2.1.8...v2.1.9