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

Pulling in the latest release of rules_jvm_external

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4093#0191abc3-dee3-4338-98a9-8be42098c87b Platform: Ubuntu Logs: ``` ERROR: error loading package 'external': Both --enable_bzlmod and --enable_workspace are disabled, but one of them must be enabled to fetch external dependencies. ``` Culprit:...

status: open - in progress

> [!NOTE] > This is presented as a POC, but nowhere near merge-ready. In its current state, it _may_ compile your apps and you _may_ see significant build time improvements....

Hello folks, I just attempted to update our codebase to use `rules_kotlin` version `2.1.7` from `2.1.3`. However, after the update, I encountered a few issues with internal access from some...

I have a `kt_jvm_binary` [target](https://github.com/tharakadesilva/rules_kotlin_1332/blob/main/downloader/BUILD.bazel#L9-L14) defined as follows: ``` kt_jvm_binary( name = "DownloaderApplication", main_class = "myapp.DownloaderKt", visibility = ["//:__subpackages__"], runtime_deps = [":downloader"], ) ``` When I run this as `bazel...

Fixes #1328 Right now, the ksp generated src JAR has the generated sources and files from `META-INF/`. This doesn't suffice for KSP processors (Micronaut) which rely on generated .class files...

Right now, the `kt_ksp_plugin` with `kt_jvm_library` produces an srcjar https://github.com/bazelbuild/rules_kotlin/blob/master/kotlin/internal/jvm/compile.bzl#L424 which can contain the generated Kotlin sources and the `META-INF/` files. However, it doesn't include the generated `.class` files a...