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

This is a placeholder issue - it will be regularly updated with the current roadmap and exist as a pinned issue. The first cut is being worked out.

status: open - in progress
P1
type: task
component: documentation

### Description of the problem / feature request: Currently when building a .jar file it's missing a meta-inf describing where to locate the main method. The rule itself has all...

Many java annotation processors allow configuration via command line arguments and system properties. These are consumed by kapt and javac, and therefore best kept separate from java compiler arguments. ##...

type: enhancement
note: help wanted
type: design

The worker, and therefore the toolchain, is softly tied to a single version of the kotlin compiler. The manifests both with api breakages (e.g. method not found) and embedded classpath...

type: design
status: open - needs triage
type: cleanup

The [READM.md](https://github.com/bazelbuild/rules_kotlin/blame/master/README.md#L28) mentions a `kt_android_local_test` that does not actually exist but it would be nice if it existed. Can you please create and publish `kt_android_local_test`? Thanks!

note: help wanted

We need to be able to pass `-Adagger.fastInit=enabled` to the underlying javac. This is a very common for Android builds since it makes the critical path faster resulting in a...

type: enhancement
component: android
component: jvm
P1

Is there an example on how to write your own annotation processor using Bazel? Something like `kapt-plugin` but in Bazel way? https://kotlinlang.org/docs/reference/kapt.html

When specifying Java tool chain in .bazelrc or command line build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java8 The latest tool chain (Java 11) is still used.

The issue in #342 boils down to how Java classloaders and reflection in Kotlin work. Classloaders form a tree, where a classloader will first ask its parent for any requested...