Skip to content

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 14:56
· 17 commits to master since this release
9c92535

Release notes for v2.2.1

Using Bzlmod with Bazel 7

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_kotlin", version = "2.2.1")

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 = "50c9b7294b73a1f50fcb3b349ca0edfd852ee1016e284b9d569ef0bffe0eb105",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.2.1/rules_kotlin-v2.2.1.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

  • Include all abi jars from the associates array by @fredm-spotify in #1409
  • Remove dependency on @bazel_tools (required for Bazel 9) by @LeFrosch in #1412
  • Bump version of protoc to 4.33.1 for backward compatibility with code generated with java protoc v3 by @nico-semko in #1413
  • Update rules_android to fix --incompatible_disable_native_repo_rules failure by @restingbull in #1358

New Contributors

Full Changelog: v2.2.0...v2.2.1