Repository navigation
Release notes for v2.4.21
Setup
rules_kotlin requires Bzlmod. Add to your MODULE.bazel file:
bazel_dep(name = "rules_kotlin", version = "2.4.21")
rules_kotlin_extensions = use_extension(
"@rules_kotlin//src/main/starlark/core/repositories:bzlmod_setup.bzl",
"rules_kotlin_extensions",
)
use_repo(rules_kotlin_extensions, "com_github_jetbrains_kotlin")
register_toolchains("@rules_kotlin//kotlin/internal:default_toolchain")Archive rules_kotlin-v2.4.21.tar.gz sha256: aa3255452dbe9b52da2ba7787f0865f107805885109f39c3d5bafc21a521bcb6.
What's Changed
- Remove unused K2 binary-class indexing and helpers by @Bencodes in #1752
- Model compiler plugin options as explicit key/value pairs by @eugenezh in #1757
- Compute classpath fingerprints by Bazel-computed input digests instea… by @eugenezh in #1756
- Keep the source jars of the toolchain stdlibs by @eugenezh in #1761
- Add x_compiler_plugin_order to the kotlinc options by @eugenezh in #1760
- Update dependency buildifier_prebuilt to v10.1.0 by @renovate[bot] in #1763
- Add manifest_lines to the kt_jvm rules by @eugenezh in #1764
- Update dependency hermetic_android_toolchains to v0.5.0 by @renovate[bot] in #1765
- Fix README compiler plugin option example by @Bencodes in #1759
- Update dependency bazel_ci_rules to v2.1.2 by @renovate[bot] in #1770
- Reduce Starlark classpath and JavaInfo analysis overhead by @Bencodes in #1751
- Update hermetic_android_toolchains to 0.5.0 in examples by @Bencodes in #1766
- Avoid eager Kotlin metadata loading during toolchain registration by @Bencodes in #1767
- Remove unused Starlark predicate and test helpers by @Bencodes in #1773
- Remove unused worker profiling state by @Bencodes in #1774
- Update dependency rules_android to v0.8.0 by @renovate[bot] in #1784
- BREAKING CHANGE: Drop residual WORKSPACE tests & references by @restingbull in #1786
- Update bazel-contrib/publish-to-bcr action to v1.5.1 by @renovate[bot] in #1788
- Align Android rules and Skylib across Bzlmod and WORKSPACE by @Bencodes in #1776
- Download jarjar via http_jar for development and releases by @Bencodes in #1787
- Replace Path.of with Paths.get to match the configured 1.8 JVM target by @eugenezh in #1789
- Update dependency bazel to v9.3.0 by @renovate[bot] in #1790
- Configure exported_compiler_plugins for the execution platform by @eugenezh in #1793
- Fix --incompatible_auto_exec_groups compatibility by @keith in #1794
- Drop Kotlin 1.x support and legacy compiler paths by @Bencodes in #1791
- Remove unused builder overloads and worker helpers by @Bencodes in #1777
- Remove unreachable stored-file jar copy branch by @Bencodes in #1775
- Move to compilation pipeline 1 of 3 by @restingbull in #1772
- Revert "Move to compilation pipeline 1 of 3" by @restingbull in #1800
- Upgrade Kotlin to 2.4.21 by @Bencodes in #1792
Full Changelog: v2.4.20...v2.4.21