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

When we run the kt_jvm_test rule on mac os, it ends up looking for java executable in exec path instead of runfiles path, which causes the run failed with the...

type: bug
component: jvm
status: open - investigating
P1

The python executable in the js can be replaced by a starlark rule with minimal fuss, and removes python dependency from the rule set.

Inline classes are an experimental yet widely used feature that should be enabled given that there is currently no way to pass flags to kotlinc via kotlin_rules. This will allow...

When I try to disable strict deps the build fails with following exception. ```java SEVERE: Compilation failure: compile phase failed: exception: java.io.UncheckedIOException: java.io.FileNotFoundException: /private/var//9f2930d169b651fc4026a3d396084f70/external/remotejdk11_macos (Is a directory) at io.bazel.kotlin.builder.utils.jars.JarOwner$Companion.readJarOwnerFromManifest(JarOwner.kt:24) at...

type: bug
component: jvm
status: open - investigating
P2

This will allow decomposing the current monolithic module into multiple parts and avoid loading unused dependencies such as js when only building jvm, or android when building js. It also...

component: common
status: open - in progress
P0
type: cleanup

For bazel, i usually use "bazel build //... -s", but it doesn't work with kotlin rules.

**Background** We found a regression on bazel kotlin rule where `private typealias` cannot be compiled correctly. This is the PR to repro the issue. **Repro Steps** ``` cd examples/android; bazelisk...

type: bug
component: android
status: open - investigating
P1

Without opening the util package, the following is seen when compiling Kotlin code: ``` INFO: From Executing genrule //src/main/kotlin/io/bazel/kotlin/plugin/jdeps:jdeps-gen-lib_jar [for host]: WARNING: An illegal reflective access operation has occurred WARNING:...

component: jvm
P2
type: cleanup
status: in review