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

a kt_jvm_test with a large number of dependencies fails on a mac ``` grep: /private/var/tmp/_bazel_jgerrish/a38eb588e179bbe7b067d6d1199c1c1d/sandbox/darwin-sandbox/545/execroot/__main__/bazel-out/darwin-fastbuild/bin/path/to/my/test/MyTest.runfiles/MANIFEST: No such file or directory /private/var/tmp/_bazel_jgerrish/a38eb588e179bbe7b067d6d1199c1c1d/sandbox/darwin-sandbox/545/execroot/__main__/bazel-out/darwin-fastbuild/bin/path/to/my/test/MyTest.runfiles/__main__/path/to/my/test/MyTest: line 336: cvfm: command not found ``` Looks like...

The Kotlin ABI compiler is not fully compatible with the `-Xbackend-threads` compiler flag and should be avoided until Jetbrains can fix the underlying issue. Jetbrains issue tracker: https://youtrack.jetbrains.com/issue/KT-52824/jvm-abi-gen-plugin-fails-with-Xbackend-threads Related conversations:...

component: jvm

Fixes https://github.com/bazelbuild/rules_kotlin/issues/732

## Repro: 1. Apply this diff: ``` diff --git a/.bazelrc b/.bazelrc index 6858b64..d7db834 100644 --- a/.bazelrc +++ b/.bazelrc @@ -2,3 +2,4 @@ build --strategy=KotlinCompile=worker build --test_output=all build --verbose_failures +build --nolegacy_external_runfiles...

status: open - investigating
P2

Sorry about the "or something". I've kinda stumbled my way into this repro and really don't understand any of the pieces in play, so I don't know if the title...

status: open - needs triage

The Kotlin toolchain hard-codes stdlib dependencies from `@com_github_jetbrains_kotlin`. This means that if you're writing a library using rules_kotlin, anything downstream that depends on stdlibs via Maven can get two copies....

P2

`kt_android_library` seems unable to link to NDK / JNI binaries: ``` in deps attribute of kt_jvm_library rule //project:project-android_kt: '//project:jni_lib' does not have mandatory providers: 'JavaInfo'. Since this rule was created...

P3

Right now, while android native rules are used, this isn't a critical issue - however, once the rules_kotlin start using starlark rules_android, the mixing of jvm and android rules results...

type: enhancement
component: android
component: jvm
component: common
status: open - investigating
P1
type: cleanup

I saw on the [roadmap](https://github.com/bazelbuild/rules_kotlin/blob/8b84fe65a398eff7f0133a1b802f3e131e5a4b9b/ROADMAP.md#xplat-est-late-2019) that stable cross-platform (XPlat) was anticipated in late 2019. Is this project still in the works? If not, was there any progress made? As someone...

type: enhancement
component: common
status: open - investigating
P1