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

As noted in the README, `kt_ksp_plugin` doesn't support generating Java code. Some annotation processors, like Dagger 2.48+, generate Java code and support KSP. --- When implemented, updating _examples/dagger_ to use...

rules_kotlin has been released as a module to the Bazel central registry, but the docs only cover WORKSPACE. In particular, there's no documentation on how to specify a custom toolchain...

Hello, When using rules_kotlin (tip) with JDK 21 and 20, I see this error: ``` ERROR: /lab/lang/kt/BUILD.bazel:140:12: KotlinCompile //lab/lang/kt:types_test_kt_ { kt: 1, java: 0, srcjars: 0 } for darwin_arm64 failed:...

Repro: https://github.com/agluszak/bzlmod-playground/tree/rules_kotlin_legacy_bzlmod ``` andrzej@MUNIT-521 ~/c/b/bzlmod-playground (rules_kotlin_legacy_bzlmod)> bazel test //... INFO: Analyzed 2 targets (27 packages loaded, 349 targets configured). INFO: Found 1 target and 1 test target... FAIL: //:test (see...

This feels like a pretty obscure corner case, but in the following situation: 1. A Bazel package with mixed Java and Kotlin sources, where the Java code references the Kotlin...

I've been tracking down a bug we've noticed where files specified in the `data` attribute of either a `kt_jvm_library` or a `java_library` do not show up in the runtime of...

type: bug
note: help wanted
note: good first issue

We would like to enforce experimental strict kotlin deps, but we can't because it's non-trivial to get it to work for some targets. I can provide further details, but I...

When invoking kt_compiler_deps_aspect_impl on a large enough build graph, output infos will be merged and Bazel will throw an out of memory error. The stack trace: ``` net.starlark.java.eval.Starlark$UncheckedEvalError: OutOfMemoryError thrown...

type: bug
status: open - investigating

The Kotlin team is working on exposing hooks for enabling incremental compilation from the CLI build tools. With our persistent workers we can potentially enable this feature allowing users to...

Issue was found when trying to integrate with [auto-service-ksp](https://github.com/ZacSweers/auto-service-ksp) library. In this case, KSP processor is invoked but META-INF service file is missing from out jar artifact. REPRO: 1. Clone...