Skip to content

v1.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Oct 20:10
· 111 commits to master since this release
11f55e8

This release of rules_kotlin comes with some breaking changes:

  • The build_bazel_rules_android repository namespace has been renamed to rules_android. Please update your WORKSPACE files to avoid downloading these rules multiple times! #1047
  • In order to support Bzlmod, the Kotlin and KSP targets have been moved out of the io_bazel_rules_kotlin repository and into rules_kotlin. If you are referencing any targets under @com_github_jetbrains_kotlin//... in your build files you will need to replace them with @rules_kotlin//kotlin/compiler:.... #1014

Using Bzlmod with Bazel 6+

Note: Bzlmod support inside of rules_kotlin is still very much considered experimental. Please report any issues that you run into!

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

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_kotlin",
    sha256 = "5766f1e599acf551aa56f49dab9ab9108269b03c557496c54acaf41f98e2b8d6",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.0/rules_kotlin-v1.9.0.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v1.8.1...v1.9.0