v1.9.1
Release notes for v1.9.1
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_kotlin", version = "1.9.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 = "d9898c3250e0442436eeabde4e194c30d6c76a4a97f517b18cefdfd4e345725a",
url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.1/rules_kotlin-v1.9.1.tar.gz",
)
What's Changed
- Fix release notes generation by @Bencodes in #1057
- Fix missing jdeps by consistently calling
collectTypeReferences
by @scosenza in #1045 - Update Kotlin to 1.9.20 by @Bencodes in #1067
- Update release_prep.sh to have correct WORKSPACE download URL by @Bencodes in #1066
- Add javac_option to pass release flag to javac by @cheister in #1064
- Include more tests in the root test suite by @Bencodes in #1050
- Update release_prep.sh by @Bencodes in #1070
- [options] Add exports and fix readme by @restingbull in #1068
- Add add-opens for JDK 21 java.lang.IllegalAccessError by @cheister in #1069
- Update README.md by @AlexBeggs in #1073
- Use launcher stub template from bazel by @illicitonion in #1082
- Fix 'x_no_source_debug_extension' inverted behavior by @oliviernotteghem in #1078
- Update Bazel version to 6.4.0 by @Bencodes in #1085
- Update rules_java to 7.2.0 by @Bencodes in #1084
- Add CI jobs for 5.x and 6.x releases by @Bencodes in #1087
- Support Kotlin 2.0 target and language levels by @Bencodes in #1086
- Add missing KotlinJvmTaskExecutorTest to the test suite by @raghulvelusamy in #1089
- Build rules_kotlin using Bazel 7.0.0 by @Bencodes in #1090
- Update name of experimental_prune_transitive_deps flag. by @plobsing in #1101
- Allow setting jvm_target up to Java 21 by @josephglanville in #1099
- Add manifest files generated from ksp into final jar by @raghulvelusamy in #1094
- Add bzl_library targets to released artifacts by @stevebarrau in #1093
- Update default Kotlin language levels to 1.9 by @Bencodes in #1111
- Update Bazel to 7.0.2 by @Bencodes in #1108
- Update Kotlin to 1.9.22 by @Bencodes in #1109
- Fix README installation's string formatting code by @marcoss in #1114
New Contributors
- @scosenza made their first contribution in #1045
- @cheister made their first contribution in #1064
- @AlexBeggs made their first contribution in #1073
- @raghulvelusamy made their first contribution in #1089
- @plobsing made their first contribution in #1101
- @josephglanville made their first contribution in #1099
- @stevebarrau made their first contribution in #1093
- @marcoss made their first contribution in #1114
Full Changelog: v1.9.0...v1.9.1