rules_kotlin
rules_kotlin copied to clipboard
Bazel rules for Kotlin
I'm implementing a rule that attaches Kotlin actions (compilation, etc.) to an existing rule. This would be similar to a how `java_proto_library` attaches Java generation/compilation actions to a proto, except...
REPLs are very useful to be able to load specific classpaths. This is an example of how the Scala Bazel rules allow for it (I recall pants has a repl...
I'd like to be able to build rules_kotlin with `--all_incompatible_changes`: `bazel test :all --all_incompatible_changes` It may not be possible to fix every issue now due to transitive dependencies, but we...
The kt_bootstrap library is pretty jank, replace it with the last release. Tasks * remove hard coded repository assumptions * replace bootstrap library with last release.
"ERROR: /Users/user1/project1/BUILD.bazel:3:20: in _kt_toolchain rule //:kotlin_toolchain_impl: target '@io_bazel_rules_kotlin//kotlin/internal:default_javac_options' is not visible from target '//:kotlin_toolchain_impl'. Check the visibility declaration of the former target if you think the dependency is legitimate" (legacy-1.4.0-rc4...
I have a mixed Java + Kotlin project where the java code uses some lombok annotations. None of the kotlin code depends on these lombok annotations, so with maven and...
For some reason, a ClassNotFoundException occurs on CI when you enable extracting the rules from the release artifact. Looking at the release artifact, it's all in place, the jars are...
Implement strict deps suggestions similar to what native java rules support.
I have the following in my `BUILD` file: ```starlark kt_compiler_plugin( name = "serialization_plugin", deps = [ "@com_github_jetbrains_kotlin//:kotlinx-serialization-compiler-plugin", ], ) # ... kt_android_library( name = "%s_lib" % mode, plugins = [":serialization_plugin"],...
Tracking issue to keep us honest and moving: * Prioritize features * Establish a release cadence * Provide governance documentation