rules_kotlin
rules_kotlin copied to clipboard
Compile Kotlin Android targets natively using the new rules_android Starlark rules
rules_android has a work-in-process implementation that moves all of the Android rules our of Bazel core and into Starlark. Using this will allow us to drop the infamous "android sandwich" that we have to use right now to support Kotlin Android compilation.
Prototype has been pushed but we are waiting for a few pull requests in rules_android to land. https://github.com/bazelbuild/rules_kotlin/pull/868
Are we still waiting for more progress on the rules_android side of things before this can advance? I'm just wondering what the status is here because this change would save me a lot of headache in getting kt_android_local_test to work with our platforms setup.
@tdibattista It's getting closer to being ready but there are still a hand full of PRs that we'd like to see get merged before we move over to the Starlark rules. It would be great to also see Bzlmod support merged into rules_android.
It's technically possible to switch already but there are a bunch of patches that you need to maintain against rules_android in order for everything to work.
We are still working with the rules_android maintainers to get all these PRs landed.