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

In kt_android_local_test, the underlying `_kt_android_artifact` doesn't get `manifest` or `manifest_values` if they are provided. ([link](https://github.com/bazelbuild/rules_kotlin/blob/a675511fdbee743c09d537c2dddfb349981ae70b/kotlin/internal/jvm/android.bzl#L115)) As such, adding `assets` fails, because the underlying library gets the assets kwarg, but not...

I'm in the middle of migrating a repo full of rules and macros from bazel 5 to 6, and I noticed that there are some problems pulling in `rules_kotlin` via...

I don't see any documentation around hooks into the Kotlin compiler. Specifically, I want to be able to pass `-Xcoroutines=enable`

type: design
component: jvm
status: open - needs triage

We support 7.x now that it's out officially. https://bazelbuild.slack.com/archives/CE6AZ22NR/p1709810519656409

* Also, cleanup the imports of libraries to be easier to reason about. * .klib remains an open question. Will need ot address in the near future. fixes #1106

I was just integrating rules_kotlin into an existing bazel project and run into some issues getting a simple kotlin app up and running. I was seeing the error ``` ....runfiles/_main/external/rules_java~~toolchains~remotejdk21_macos_aarch64/bin/java:...

WorkerEnvironmentTest has been flakey in the following: * https://github.com/bazelbuild/rules_kotlin/pull/1118#issuecomment-1974873631 * https://github.com/bazelbuild/rules_kotlin/issues/1071 * https://github.com/bazelbuild/rules_kotlin/issues/1091 * https://github.com/bazelbuild/rules_kotlin/issues/1098

Fixes #941 We found that certain Kotlin versions, 1.8.10 for example can produce absolute paths in jdeps output. Although this is fixed in 1.8.20 (not sure which commit caused this...

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3858#018f7a6e-1950-49f1-9151-af3cc2389a2e Platform: Ubuntu Logs: ``` ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/d15077c341827e73bf2d88b7f622d6f3/external/maven/BUILD:9:1: name 'aar_import' is not defined (did you mean 'cc_import'?) ``` Culprit: https://github.com/bazelbuild/bazel/commit/947c72d699321c97518dbebe0e8ca59621b5da21 Steps: ``` git clone https://github.com/bazelbuild/rules_kotlin git reset 42ea2e5539ec52ef93cf29607aa889b7d57ea320 --hard export...

Follow up to https://github.com/bazelbuild/rules_kotlin/pull/1173