rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Bazel rules for Kotlin

Results 243 rules_kotlin issues
Sort by recently updated
recently updated
newest added

`java_binary` allows you to build a ["fat jar" with all the dependencies bundled ](https://bazel.build/reference/be/java#java_binary_implicit_outputs), but this is not possible with `kt_jvm_binary`

Repro [here](https://github.com/pswaminathan/kotlinc-js-passthrough-example) * Action: Build src:jvm and src:js * Expected: Both src:jvm and src:js get -Xmulti-platform specified by x_multi_platform argument to :kt_kotlinc_options * Actual: src:jvm succeeds, src:js doesn't get this...

Versions before Kotlin 1.8 re currently broken due to plugin api changes.

Users should be able to disable that behaviour since it also cuts the prefix off from a file or directory name (e.g. `kotlin_xyz.kt` becomes `_xyz.kt`).

Move Kotlin specific targets (like `kt_jvm_import`) from `BUILD.com_github_jetbrains_kotlin` to `//kotlin/compiler`. This will make it possible to release `kotlin-compiler` module on `bazel-central-registry` without depending on `rules_kotlin`. The release will contain the...

Incompatible flag `--incompatible_disable_starlark_host_transitions` will be enabled by default in the next major release (Bazel 7.0), thus breaking rules_kotlin. Please migrate to fix this and unblock the flip of this flag....

Incompatible flag `--incompatible_config_setting_private_default_visibility` will be enabled by default in the next major release (Bazel 7.0), thus breaking rules_kotlin. Please migrate to fix this and unblock the flip of this flag....

type: bug
component: common

Discovered an issue when attempting to update to `v1.8-RC-1` — if there are annotation processors but `java_infos` is empty, the attempt to dereference index 0 of the list of `class_jars`...

component: jvm
status: open - needs triage