Release notes for v2.3.20
Using Bzlmod with Bazel 7
- Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_kotlin", version = "2.3.20")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 = "13d5b767d697473ced9b55547a18a6ab65ab3fae5440555deee8a44c886b50aa",
url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.3.20/rules_kotlin-v2.3.20.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 belowWhat's Changed
- [maintenance] Remove old capability files by @agluszak in #1475
- Drop support for Java 8, stop using kotlin-preloader by @agluszak in #1474
- [maintenance] Remove unused development setup for WORKSPACE by @agluszak in #1477
- [maintenance] Update buildifier by @agluszak in #1486
- Add repository entry for bazel-contrib rules_kotlin by @meteorcloudy in #1482
- chore(deps): update dependency bazel to v9.0.1 by @renovate[bot] in #1483
- feat: allow passing KSP options via kt_ksp_plugin by @monosoul in #1478
- Remove WorkerEnvironmentTest by @Bencodes in #1496
- Update Kotlin to 2.3.20 by @agluszak in #1515
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #1514
- chore(deps): update actions/cache action to v5 - autoclosed by @renovate[bot] in #1513
- chore(deps): update actions/setup-java action to v5 by @renovate[bot] in #1516
New Contributors
- @renovate[bot] made their first contribution in #1483
- @monosoul made their first contribution in #1478
Full Changelog: v2.3.10...v2.3.20