Skip to content

Releases: bazelbuild/rules_kotlin

v2.1.3

15 Mar 13:16
681b218
Compare
Choose a tag to compare

Release notes for v2.1.3

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.1.3")

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 = "e1448a56b2462407b2688dea86df5c375b36a0991bd478c2ddd94c97168125e2",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.3/rules_kotlin-v2.1.3.tar.gz",
)

What's Changed

  • Allow empty glob in src/main/starlark/BUILD.release.bazel for Bazel 8 compatibility by @ahumesky in #1283

Full Changelog: v2.1.2...v2.1.3

v2.1.2

28 Feb 17:29
f6de627
Compare
Choose a tag to compare

Release notes for v2.1.2

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.1.2")

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 = "6ea1c530261756546d0225a0b6e580eaf2f49084e28679a6c17f8ad1ccecca5d",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.2/rules_kotlin-v2.1.2.tar.gz",
)

What's Changed

  • Don't glob for .bazel files in the release archive by @Bencodes in #1279

Full Changelog: v2.1.1...v2.1.2

v2.1.1

27 Feb 05:39
7c57e0c
Compare
Choose a tag to compare
v2.1.1 Pre-release
Pre-release

Release notes for v2.1.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.1.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 = "425bca48bcb4be7fcae6079c68a1589dd94e55955bed71ef07d1ab1b13cae550",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.1/rules_kotlin-v2.1.1.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

30 Dec 16:57
fcf8055
Compare
Choose a tag to compare

Release notes for v2.1.0

Adds support for Kotlin 2.1.0 and above.

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.1.0")

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 = "dd32f19e73c70f32ccb9a166c615c0ca4aed8e27e72c4a6330c3523eafa1aa55",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.1.0/rules_kotlin-v2.1.0.tar.gz",
)

What's Changed

  • Pass generated_source_jar to the final JavaInfo by @Bencodes in #1223
  • [infra] Use kotlin standard libraries from the toolchain, as opposed to hard coded. by @restingbull in #1225
  • Add rules_jvm_external overrides for stdlib by @Bencodes in #1219
  • Stop suggesting that Java's exported_plugins is transitive. by @cpovirk in #1236
  • Add a current_toolchain target to be referenced by kt_toolchain attribute by @jdai8 in #1239
  • Fix workspace resolution for development by @restingbull in #1231
  • fix running kotlin targets by @Bencodes in #1242
  • Add support for -Xconsistent-data-class-copy-visibility by @Bencodes in #1247
  • Create a new "bootstrap" toolchain and compile with 2.1.0 by @restingbull in #1244
  • Fix typo in src/main/starlark/core/compile/BUILD.release.bazel by @Bencodes in #1253
  • Query the release target in the integration tests by @Bencodes in #1254

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

13 Sep 20:03
40fecf5
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release

Release notes for v2.0.0

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.0.0")

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 = "d89723cc9ebbb7bdb2ebaca1af7d2383e074615643cf97a366b758a76b7dc443",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v2.0.0/rules_kotlin-v2.0.0.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v1.9.6...v2.0.0

v1.9.6

30 Jun 23:54
fe0d460
Compare
Choose a tag to compare

Release notes for v1.9.6

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 = "1.9.6")

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 = "3b772976fec7bdcda1d84b9d39b176589424c047eb2175bed09aac630e50af43",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.6/rules_kotlin-v1.9.6.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v1.9.5...v1.9.6

v1.9.5

10 Apr 16:48
cb82644
Compare
Choose a tag to compare

Release notes for v1.9.5

Using Bzlmod with Bazel 6

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

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 = "34e8c0351764b71d78f76c8746e98063979ce08dcf1a91666f3f3bc2949a533d",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.5/rules_kotlin-v1.9.5.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v1.9.4...v1.9.5

v1.9.4

29 Mar 17:06
52d3bd5
Compare
Choose a tag to compare

Release notes for v1.9.4

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 = "1.9.4")

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 = "76c0fcc2c23edf736320aded1acd9dde0bae418e5731df12933d886cba86b795",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.4/rules_kotlin-v1.9.4.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v1.9.1...v1.9.4

v1.9.3

28 Mar 17:04
f5b65cc
Compare
Choose a tag to compare
v1.9.3 Pre-release
Pre-release

Release notes for v1.9.3

Using Bzlmod with Bazel 6

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

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 = "b3eac09c6385e3a79f3c260314c4bfb82c288d3947869b2406b11bf1ef450cc2",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.3/rules_kotlin-v1.9.3.tar.gz",
)

What's Changed

New Contributors

Full Changelog: v1.9.1...v1.9.3

v1.9.2

08 Mar 00:30
775625d
Compare
Choose a tag to compare
v1.9.2 Pre-release
Pre-release

Release notes for v1.9.2

Using Bzlmod with Bazel 6

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

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 = "48e69a22c7098a2bb36bcab3bec3355a0ea1190a285c64216cf4eba3c08bba89",
    url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.2/rules_kotlin-v1.9.2.tar.gz",
)

What's Changed

Full Changelog: v1.9.1...v1.9.2