rules_android icon indicating copy to clipboard operation
rules_android copied to clipboard

[FR] Add support for consuming Android variant of Kotlin Multiplatform Artifacts

Open liutikas opened this issue 2 years ago • 2 comments

Kotlin Multiplatform is now in beta and it is headed to become stable soon. Several libraries have already adopted KMP and have been publishing artifacts that make it difficult to consume Android variant of them from Bazel when using rules_android. This issue is a request to add proper support for consuming such artifacts.

This has come up recently due to Jetpack Compose artifacts moving to KMP publishing and that breaks Bazel users because POM files do not default to the Android platform. If rules_android read Gradle module metadata, they should be able to resolve the correct artifacts.

liutikas avatar Jun 02 '23 16:06 liutikas

Related https://github.com/bazelbuild/rules_jvm_external/issues/909

arunkumar9t2 avatar Jun 02 '23 17:06 arunkumar9t2

Thanks for raising this here. As arunkumar9t2 pointed out there's https://github.com/bazelbuild/rules_jvm_external/issues/909, and it looks like the fix for this would likely go into rules_jvm_external, but we can keep the issue here open until there's a resolution.

ahumesky avatar Jun 02 '23 17:06 ahumesky