rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

Update rules_jvm_external to use the Starlark version of aar_import

Open ahumesky opened this issue 1 year ago • 6 comments

  1. Update rules_jvm_external to use the Starlark version of aar_import automatically if the version of Bazel used does not contain the native version of aar_import.

  2. This also updates the version of rules_android to the latest commit, because version 0.1.1 is basically just wrappers around the native versions of the rules.

  3. This also updates the default label to import aar_import from, from @build_bazel_rules_android//android:rules.bzl to @rules_android//rules:rules.bzl, both to match the bzlmod style name of the repo ("rules_android") and to use the latest label inside the repo (//android:rules.bzl exists, but only for backwards compatibility).

  4. This also disbles --experimental_sibling_repository_layout added in https://github.com/bazelbuild/rules_jvm_external/commit/b6631f90a46c23be32000bf14b8e817f44017cc4 because the latest rules_android uses protos in go, and there is a problem compiling protos in go with --experimental_sibling_repository_layout: https://github.com/bazelbuild/rules_go/issues/3947

Fixes #1139.

ahumesky avatar May 24 '24 00:05 ahumesky