Releases: bazelbuild/rules_kotlin
Kotlin rules for Bazel - v1.8
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: 01293740a16e474669aba5b5a1fe3d368de5832442f164e4fbfc566815a8bc3a
What's Changed
- Convert strings to label with the correct repository by @comius in #896
- Add missing rules_proto calls for deps, etc. by @restingbull in #904
- Revert "Enable new jarfs for multiplex workers." by @Bencodes in #906
- Updated debug instructions by @pettermahlen in #882
- What binaries do you speak of? by @restingbull in #905
- Use rules_kotlin 1.7.1 in readme install instructions by @hanneskaeufler in #909
- Update Dagger from 2.43.2 -> 2.44.2 by @Bencodes in #911
- Update Anvil 2.4.1 -> 2.4.3 by @Bencodes in #912
- Use placeholders in progress messages by @fmeum in #895
- Update README with Bazel compatibility messaging by @Bencodes in #914
- Fix reference to java_infos in compile.bzl by @avarun42 in #915
- Support Kotlin 1.8 by @Bencodes in #910
- Update AutoValue 1.6.5 -> 1.10.1 by @Bencodes in #918
- Remove unused commonArgs function from CompilationTask.kt by @Bencodes in #921
- Add missing 1.8 language_version to toolchains.bzl by @Bencodes in #923
- Update Kotlin compiler to 1.8.10 by @Bencodes in #932
- Add -Xdebug option added in 1.8 to make debugging better by @chancila in #936
- WIP Clean up user defined flag settings by @chancila in #937
- Add
src/{main,test}/java
as conventional resource prefix by @fmeum in #927 - Get rid of duplicates in the --processors and --processorpath arguments. by @tjgq in #940
- Remove unused MAVEN_PROTO versions by @Bencodes in #949
- Update rules_kotlin to Kotlin 1.8.20 by @Bencodes in #943
- Remove unused bazel_deps repository by @Bencodes in #948
- Update KtLint to 0.48.2 by @Bencodes in #947
- Update rules_proto to 5.3.0-21.7 by @Bencodes in #946
- Update buildifier to 6.1.0 by @Bencodes in #945
- Update Bazel to 6.1.1 by @Bencodes in #944
- Remove kt_jvm_plugin_aspect now that all versions of Bazel support JavaPluginInfo by @Bencodes in #953
- Support passing data attribute to android_local_test by @Bencodes in #954
- Align the anvil workspace versions by @Bencodes in #952
- Update the Jetpack Compose compiler to 1.8.10 by @Bencodes in #951
- Update rules_python version by @comius in #958
- Switch to bazel runfiles by @restingbull in #956
- Add support for KSP annotation processing via KspCompile by @Bencodes in #955
- Update the Kotlin docs by @Bencodes in #959
- Ensure that KSP plugins are included in the action inputs by @Bencodes in #964
- Fix order of repository loads by @comius in #965
- Update android.bzl to call into the repo rules by @Bencodes in #966
- Check all dependency jars before marking unused by @mauriciogg in #967
- Move to options capabilities to kotlinc repository by @restingbull in #963
- Update to Kotlin 1.8.21 by @Bencodes in #969
- Support -Xenable-incremental-compilation by @Bencodes in #971
- Add support for -Xuse-fir-lt by @Bencodes in #972
- Update KtLint to 0.49.1 by @Bencodes in #970
- Use the mnemonic for worker keys by @Bencodes in #976
- Restore neverlink on compiler. by @restingbull in #977
- Generate koltinc options by @restingbull in #962
- Normalize label by @mauriciogg in #968
- Avoid creating duplicate android_sdk_repositories by @Bencodes in #978
- Remove print warning from kt_download_local_dev_dependencies by @Bencodes in #974
- Remove opts.release.bzl which is no longer being used by @Bencodes in #982
- Update the README.md with the latest dev override config by @Bencodes in #981
- Regenerate the docs by @Bencodes in #980
New Contributors
- @avarun42 made their first contribution in #915
- @chancila made their first contribution in #936
- @tjgq made their first contribution in #940
Full Changelog: v1.7.1...v1.8
Kotlin rules for Bazel - v1.8-RC-12
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: 8e5c8ab087e0fa3fbb58e1f6b99d8fe40f75bac44994c3d208eba723284465d6
What's Changed
- Update Kotlin compiler to 1.8.10 by @Bencodes in #932
- Add -Xdebug option added in 1.8 to make debugging better by @chancila in #936
- WIP Clean up user defined flag settings by @chancila in #937
- Add
src/{main,test}/java
as conventional resource prefix by @fmeum in #927 - Get rid of duplicates in the --processors and --processorpath arguments. by @tjgq in #940
- Remove unused MAVEN_PROTO versions by @Bencodes in #949
- Update rules_kotlin to Kotlin 1.8.20 by @Bencodes in #943
- Remove unused bazel_deps repository by @Bencodes in #948
- Update KtLint to 0.48.2 by @Bencodes in #947
- Update rules_proto to 5.3.0-21.7 by @Bencodes in #946
- Update buildifier to 6.1.0 by @Bencodes in #945
- Update Bazel to 6.1.1 by @Bencodes in #944
- Remove kt_jvm_plugin_aspect now that all versions of Bazel support JavaPluginInfo by @Bencodes in #953
- Support passing data attribute to android_local_test by @Bencodes in #954
- Align the anvil workspace versions by @Bencodes in #952
- Update the Jetpack Compose compiler to 1.8.10 by @Bencodes in #951
- Update rules_python version by @comius in #958
- Switch to bazel runfiles by @restingbull in #956
- Add support for KSP annotation processing via KspCompile by @Bencodes in #955
- Update the Kotlin docs by @Bencodes in #959
- Ensure that KSP plugins are included in the action inputs by @Bencodes in #964
- Fix order of repository loads by @comius in #965
New Contributors
Full Changelog: v1.8-RC-1...v1.8-RC-12
Kotlin rules for Bazel - v1.8-RC-1
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: 1779628569eb3b0fe97a3fb5c3ed8090e6503e425600b401c7b1afb6b23a3098
What's Changed
- Convert strings to label with the correct repository by @comius in #896
- Add missing rules_proto calls for deps, etc. by @restingbull in #904
- Revert "Enable new jarfs for multiplex workers." by @Bencodes in #906
- Updated debug instructions by @pettermahlen in #882
- What binaries do you speak of? by @restingbull in #905
- Use rules_kotlin 1.7.1 in readme install instructions by @hanneskaeufler in #909
- Update Dagger from 2.43.2 -> 2.44.2 by @Bencodes in #911
- Update Anvil 2.4.1 -> 2.4.3 by @Bencodes in #912
- Use placeholders in progress messages by @fmeum in #895
- Update README with Bazel compatibility messaging by @Bencodes in #914
- Fix reference to java_infos in compile.bzl by @avarun42 in #915
- Support Kotlin 1.8 by @Bencodes in #910
- Update AutoValue 1.6.5 -> 1.10.1 by @Bencodes in #918
- Remove unused commonArgs function from CompilationTask.kt by @Bencodes in #921
- Add missing 1.8 language_version to toolchains.bzl by @Bencodes in #923
New Contributors
Full Changelog: v1.7.0...v1.8-RC-1
Kotlin rules for Bazel - v1.7.1
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: fd92a98bd8a8f0e1cdcb490b93f5acef1f1727ed992571232d33de42395ca9b3
Built from the https://github.com/bazelbuild/rules_kotlin/tree/release-v1.7.0 release branch with a few small fixes.
What's Changed
- Add missing rules_proto calls for deps, etc. #904
- Revert "Enable new jarfs for multiplex workers. #906
Full Changelog: v1.7.0...v1.7.1
Kotlin rules for Bazel - v1.7.0
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: 15afe2d727f0dba572e0ce58f1dac20aec1441422ca65f7c3f7671b47fd483bf
What's Changed
- Update Bazel from 5.1.1 -> 5.2.0 by @Bencodes in #766
- Remove deprecated friends attribute in favor of associates by @Bencodes in #768
- Support -Xreport-perf by @rockwotj in #775
- Add support for -Xbackend-threads by @rockwotj in #773
- Update -Xuse-fir to -Xuse-k2 by @rockwotj in #776
- Add no-optimize flag by @rockwotj in #774
- Update doc for v1.6.0 by @utzcoz in #779
- Bump bazel to 5.0.0 by @utzcoz in #780
- Bump Robolectric to 4.8.1 for android example by @utzcoz in #781
- Allow resources to be passed to kt_android_library by @sugarmanz in #786
- Fix typo in error by @hanneskaeufler in #783
- Support using --jvmopt with kt_jvm_test by @mai93 in #782
- Remove dead code branch by @hanneskaeufler in #784
ktlint_test
windows support by @hanneskaeufler in #785- Fix repository mapping to be compliant with Bazel 6 by @restingbull in #777
- Support multiple
kt_android_library
targets with same package name. by @arunkumar9t2 in #790 - Bump ktlint to 0.46.1, but make the version configurable by @hanneskaeufler in #789
- Remove unused build_java attribute by @Bencodes in #788
- Update to Kotlin 1.7.0 by @Bencodes in #769
- Remove @jin from CODEOWNERS by @jin in #792
- Check if
default_jvm_opts
exists inctx.fragments.java
by @mai93 in #793 - Fix some compiler warnings in JdepsGenExtension by @Bencodes in #795
- Add release badges from
shields.io
by @arunkumar9t2 in #799 - Add kt_kotlinc_options for additional bytecode generation options by @brettwooldridge in #802
- Remove -Xuse-experimental from legacy opts by @Bencodes in #767
- Update the workspace to use the prebuilt image over rbe autoconfig. by @restingbull in #744
- pass exec_properties to underlying android_local_test macro by @Augustyniak in #810
- Add instructions to attach debugger to debug java/kt actions by @oliviernotteghem in #814
- Mark receiver parameter type as referenced. by @aeremin in #807
- Fix jdeps tracking case for class extension by @oliviernotteghem in #812
- Fix RBE builds on master by @Bencodes in #818
- Update Dagger from 2.41 -> 2.43.2 by @Bencodes in #817
- Update compose example to Kotlin 1.7.10 by @Bencodes in #820
- Update rules_kotlin to Kotlin 1.7.10 by @Bencodes in #821
- Cleanup bunch of small issues in JdepsGetExtension.kt by @aeremin in #819
- Update kotlin.bzl by @SebastianHelzer in #816
- [KtLint] Support --android and --experimental by @Bencodes in #824
- update rules_nodejs by @aranguyen in #830
- Bump bazel to 5.3.0 by @hanneskaeufler in #833
- [KtLint] Run ktlint format against all Kotlin sources by @Bencodes in #828
- Fix blankline printed for each action when executing on RBE by @bduffany in #831
- Update KtLint from 0.46.1 -> 0.47.1 by @Bencodes in #825
- [KtLint] Add CI job for enforcing Kotlin formatting by @Bencodes in #826
- [KtLint] Append editorconfig to the ktlint_fix runfiles by @Bencodes in #827
- [KtLint] Add ktlint.check and ktlint.fix make commands by @Bencodes in #834
- Add an env attribute to kt_jvm_test by @meastham in #837
- update rules_nodejs & bazel_skylib by @aranguyen in #835
- Move versioned repositories to top level
src
dir by @restingbull in #838 - Support testing both k2 and old compiler for Jdeps by @rockwotj in #845
- Update rules_kotlin to Kotlin 1.7.20 by @rockwotj in #844
- Add -XX:-MaxFDLimit to builder binaries by @Bencodes in #848
- [CI] Update buildifier from 5.0.0 to 5.1.0 by @Bencodes in #847
- Improve missing strict deps warnings by @lukaciko in #851
- [CI] Update Bazel from 5.3.0 to 5.3.1 by @Bencodes in #846
- Bazel 6.0: Fix config_setting visibility failure on bazel CI by @gregestren in #853
- Add option to enable/disable jdeps generation by @nkoroste in #852
- Remove unused dependency in example by @hanneskaeufler in #862
- Fix AbstractMethodError in JdepsGenCommandLineProcessor by @Bencodes in #859
- Do not auto refresh archive_repository on windows by @restingbull in #861
- Pass nocompress_extensions to base android_local_test rule by @pswaminathan in #873
- Update Kotlin to 1.7.21 by @Bencodes in #872
- Fix misattributed compiler argument. by @restingbull in #876
- Support setting kotlin_jvm_target at the target level by @Bencodes in #865
- Bug: No compilation occurs when module only contains resources + no sources by @EdbertChan in #875
- Update Bazel from 5.3.1 -> 5.3.2 by @Bencodes in #867
- Pass runfiles paths more robustly by @comius in #860
- Update Kotlin from 1.7.21 -> 1.7.22 by @Bencodes in #886
- Update Ktlint 0.47.1 -> 0.48.0 by @Bencodes in #887
- Update Bazel to 6.0.0-pre.20221020.1 by @Bencodes in #889
- Bump express from 4.16.3 to 4.17.3 in /examples/node by @dependabot in #879
- Remove Jetpack Compose hacks now that we are on Bazel 6 by @Bencodes in #890
- Update rules_jvm_external from 4.2 -> 4.4.2 by @Bencodes in #866
- Add sample app to tests how many targets were rebuilt by @nkoroste in #840
- More Bazel 6.0 cleanup by @Bencodes in #891
- Enable new jarfs for multiplex workers. by @restingbull in #888
- Upgrade dependencies by @comius in #901
- Bump the Bazel version to Bazel 6 official by @Bencodes in #898
New Contributors
- @hanneskaeufler made their first contribution in #783
- @brettwooldridge made their first contribution in #802
- @Augustyniak made their first contribution in #810
- @aeremin made their first contribution in #807
- @SebastianHelzer made their first contribution in #816
- @aranguyen made their first contribution in #830
- @bduffany made their first contribution in #831
- @meastham made their first contribution in #837
- @lukaciko made their first contribution in #851
- @gregestren made their first contribution in #853
- @pswam...
Kotlin rules for Bazel - v1.7.0-RC-3
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: f033fa36f51073eae224f18428d9493966e67c27387728b6be2ebbdae43f140e
What's Changed
- Fix some compiler warnings in JdepsGenExtension by @Bencodes in #795
- Add release badges from
shields.io
by @arunkumar9t2 in #799 - Add kt_kotlinc_options for additional bytecode generation options by @brettwooldridge in #802
- Remove -Xuse-experimental from legacy opts by @Bencodes in #767
- Update the workspace to use the prebuilt image over rbe autoconfig. by @restingbull in #744
- pass exec_properties to underlying android_local_test macro by @Augustyniak in #810
- Add instructions to attach debugger to debug java/kt actions by @oliviernotteghem in #814
- Mark receiver parameter type as referenced. by @aeremin in #807
- Fix jdeps tracking case for class extension by @oliviernotteghem in #812
- Fix RBE builds on master by @Bencodes in #818
- Update Dagger from 2.41 -> 2.43.2 by @Bencodes in #817
- Update compose example to Kotlin 1.7.10 by @Bencodes in #820
- Update rules_kotlin to Kotlin 1.7.10 by @Bencodes in #821
- Cleanup bunch of small issues in JdepsGetExtension.kt by @aeremin in #819
New Contributors
- @brettwooldridge made their first contribution in #802
- @Augustyniak made their first contribution in #810
- @aeremin made their first contribution in #807
Full Changelog: v1.7.0-RC-2...v1.7.0-RC-3
Kotlin rules for Bazel - v1.7.0-RC-2
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: 946747acdbeae799b085d12b240ec346f775ac65236dfcf18aa0cd7300f6de78
What's Changed
Full Changelog: v1.7.0-RC-1...v1.7.0-RC-2
Kotlin rules for Bazel - v1.7.0-RC-1
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: 68b910730026921814d3a504ccbe9adaac9938983d940e626523e6e4ecfb0355
What's Changed
- Update Bazel from 5.1.1 -> 5.2.0 by @Bencodes in #766
- Remove deprecated friends attribute in favor of associates by @Bencodes in #768
- Support -Xreport-perf by @rockwotj in #775
- Add support for -Xbackend-threads by @rockwotj in #773
- Update -Xuse-fir to -Xuse-k2 by @rockwotj in #776
- Add no-optimize flag by @rockwotj in #774
- Update doc for v1.6.0 by @utzcoz in #779
- Bump bazel to 5.0.0 by @utzcoz in #780
- Bump Robolectric to 4.8.1 for android example by @utzcoz in #781
- Allow resources to be passed to kt_android_library by @sugarmanz in #786
- Fix typo in error by @hanneskaeufler in #783
- Support using --jvmopt with kt_jvm_test by @mai93 in #782
- Remove dead code branch by @hanneskaeufler in #784
ktlint_test
windows support by @hanneskaeufler in #785- Fix repository mapping to be compliant with Bazel 6 by @restingbull in #777
- Support multiple
kt_android_library
targets with same package name. by @arunkumar9t2 in #790 - Bump ktlint to 0.46.1, but make the version configurable by @hanneskaeufler in #789
- Remove unused build_java attribute by @Bencodes in #788
- Update to Kotlin 1.7.0 by @Bencodes in #769
- Remove @jin from CODEOWNERS by @jin in #792
New Contributors
- @hanneskaeufler made their first contribution in #783
Full Changelog: v1.6.0...v1.7.0-RC-1
Kotlin rules for Bazel - v1.6.0
Note: These rules are maintained externally by volunteers (with Google's approval)
SHA256: a57591404423a52bd6b18ebba7979e8cd2243534736c5c94d35c89718ea38f94
What's Changed
- Set shebang correctly as initial line by @gertvdijk in #164
- Add kotlin opts for disabling
invokedynamic
by @benjaminRomano in #681 - Pin buildifier to 4.2.5 to unblock master by @Bencodes in #691
- Update Jetpack Compose to 1.1.0 by @Kernald in #683
- Remove Android NDK by @Kernald in #684
- Pin buildifier to 5.x and fix violations by @Bencodes in #692
- Generic -Xopt-in support by @sugarmanz in #676
- Fix --enable_runfiles on Windows by @jesseschalken in #680
- Remove legacy Javac compilation by @Bencodes in #694
- Support using --jvmopt with kt_jvm_binary by @mai93 in #689
- Delete unused KtAbiPluginArgs.kt by @Bencodes in #698
- [Docs] Add x_optin to kt_kotlinc_options docs by @Bencodes in #702
- Flatten JavaBuilderFlags into KotlinBuilderFlags by @Bencodes in #699
- [Docs] Improve archive_repository docs by @Bencodes in #701
- Use canonical repo name for android rules: build_bazel_rules_android by @dflems in #675
- Update kotlinc_opts documentation by @pettermahlen in #706
- Use JavaPersistantWorker, create new kotlinc every invocation by @restingbull in #703
- Check JavaPluginInfo provider is not empty by @mauriciogg in #685
- Mixed source compile test reproducing issues/707 by @restingbull in #710
- Build rules_kotlin using Kotlin 1.6 by @Bencodes in #626
- Rename PersistentWorkerTest to JavaPersistentWorkerTest by @nkoroste in #713
- Support all -Xjvm-default options by @Bencodes in #715
- Support -Xuse-fir to enable the experimental new Kotlin frontend by @Bencodes in #717
- Allow java 15 and 17 for jvm_target by @andrewhamon in #712
- Allow java 16 for jvm_target by @Bencodes in #719
- use absolute_target for the default toolchain by @restingbull in #720
- Bump Kotlin compiler from 1.6.20 -> 1.6.21 by @Bencodes in #718
- Remove unused coroutines references in WorkerEnvironment.kt by @Bencodes in #721
- Update Bazel from 5.0.0 -> 5.1.0 by @Bencodes in #723
- Remove kotlinx-coroutines from maven_install artifacts by @Bencodes in #724
- Update README.md with 1.6.0-RC1 changes by @Bencodes in #725
- Remove ExperimentalCoroutinesApi usages by @Bencodes in #728
- Replace cfg=host with cfg=exec by @Bencodes in #727
- Don't provide jdeps as default output by @Bencodes in #726
- Fix jvm kotlin library compilation with srcjar + no kt files by @oliviernotteghem in #731
- Add github action for creating releases by @Bencodes in #671
- Update Bazel 5.1.0 -> 5.1.1 by @Bencodes in #734
- Revert "Add github action for creating releases" until triggering criteria is sorted out. by @restingbull in #736
- Add github action for creating releases by @Bencodes in #738
- Remove release_name from github action releases by @Bencodes in #739
- More automated release testing by @Bencodes in #740
- [Testing] Write some bytes into the test file by @Bencodes in #741
- Support automated releases using Github Actions by @Bencodes in #742
- Ensure version of Android SDK is consistent when compiling kotlin targets by @oliviernotteghem in #746
- Support Kotlin 1.7 api and language versions by @Bencodes in #747
- Update compose example to 1.2.0-alpha08 by @Bencodes in #722
- Update compose example to 1.2.0-beta02 and Kotlin compiler 1.6.21 by @Bencodes in #751
- Add Kotlin 1.7 build opts by @Bencodes in #750
- Run
kapt
onkt
files passed viasrcjar
s by @arunkumar9t2 in #749 - Update CHANGELOG.md for 1.6.0-RC1 by @Bencodes in #755
- Update CHANGELOG.md for v1.6.0-RC-2 by @Bencodes in #756
- Flatten README.md down and refer to Github Releases for changelog information by @Bencodes in #757
- Flatten the quick start section of the README to only reference the current stable release by @Bencodes in #758
- Remove Kotlin 1.3 reference from README and fix a typo by @Bencodes in #759
- Update custom kotlinc distribution docs to reference a newer Kotlin compiler release by @Bencodes in #760
- Fix typo in
kt_download_local_dev_dependencies
deprecation error message by @arunkumar9t2 in #762 - Break KotlinKapt action into it's own function by @Bencodes in #765
- Add build and test support to RulesKotlinWorkspace by @Bencodes in #764
- Symlink empty jdeps as output when there are none to merge by @Bencodes in #763
- add -Xemit-jvm-type-annotations by @restingbull in #770
New Contributors
- @sugarmanz made their first contribution in #676
- @mai93 made their first contribution in #689
- @dflems made their first contribution in #675
- @andrewhamon made their first contribution in #712
Full Changelog: v1.5.0...v1.6.0
Kotlin rules for Bazel - v1.6.0-RC-3
This will likely be the final RC release before we promote v1.6.0 to stable.
What's Changed
- Run
kapt
onkt
files passed viasrcjar
s by @arunkumar9t2 in #749 - Update CHANGELOG.md for 1.6.0-RC1 by @Bencodes in #755
- Update CHANGELOG.md for v1.6.0-RC-2 by @Bencodes in #756
- Flatten README.md down and refer to Github Releases for changelog information by @Bencodes in #757
- Flatten the quick start section of the README to only reference the current stable release by @Bencodes in #758
- Remove Kotlin 1.3 reference from README and fix a typo by @Bencodes in #759
- Update custom kotlinc distribution docs to reference a newer Kotlin compiler release by @Bencodes in #760
- Fix typo in
kt_download_local_dev_dependencies
deprecation error message by @arunkumar9t2 in #762 - Break KotlinKapt action into it's own function by @Bencodes in #765
- Add build and test support to RulesKotlinWorkspace by @Bencodes in #764
- Symlink empty jdeps as output when there are none to merge by @Bencodes in #763
- add -Xemit-jvm-type-annotations by @restingbull in #770
Full Changelog: v1.6.0-RC-2...v1.6.0-RC-3