[FR] Add support for consuming Android variant of Kotlin Multiplatform Artifacts
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.
Related https://github.com/bazelbuild/rules_jvm_external/issues/909
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.