rules_kotlin
rules_kotlin copied to clipboard
Bazel rules for Kotlin
When we have 3 packages, `:apple`, `:banana` and `:cherry`, where `:banana` is in the `deps` of `:apple` and `:cherry` is in the deps of `:banana`, it's possible to use Kotlin...
java_test supports a "flaky=True" flag which causes the test to be executed possibly a number of times, in order to see if it ever passes. It's not a recommended practice,...
We introduced rules_kotlin in a large monorepo with hundreds of engineers. Since there's an eager WORKSPACE load to get `kotlin_repositories()`, every engineer immediately is waiting to download 22MB even though...
Most of the `BUILD.bazel` files bundled in the release artifact are not defining any of the `bzl_library` targets, making documenting macros re-using rules_kotlin definitions tricky.
Example in repository [eikemeier/bazel-kotlin-jdk16](https://github.com/eikemeier/bazel-kotlin-jdk16). JDK16 has implemented **JEP 396**: _Strongly Encapsulate JDK Internals by Default_ and the Kotlin compiler accesses protected `java.util.ResourceBundle.setParent ` without `--add-opens java.base/java.util =ALL-UNNAMED`. See also https://github.com/bazelbuild/rules_kotlin/pull/527...
Hello, I'm trying to add the `-Xuse-experimental=kotlin.contracts.ExperimentalContracts` option to the compiler and I really don't understand how to manage that. Is it with the `kt_compiler_plugin` ? #### `/plugins/BUILD.bazel`: ```starlark load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl",...
Should help with issue/PR triage. Ideally we would have the resources to address and resolve all issues, and review and merge all pull requests. But we don't. Rather than leave...
I use https://github.com/tweag/rules_nixpkgs to manage my toolchains and some other deps, I was trying to figure out how to get it to work with `rules_kotlin` but I suspect this is...
With worker sandboxing enabled `depsMerger#readJarOwnerFromManifest` fails with a `NoSuchFileException` while attempting to read manifest information form JARs that aren't linked to the sandbox. It can be reproduced by building with...
Skydoc had a lot of problems and was becoming a major hinderance for this repo so it has been removed. A new documentation tool is in the [works](https://github.com/bazelbuild/skydoc/issues/102). I don't...