rules_jvm_external
rules_jvm_external copied to clipboard
Update rules_jvm_external to use the Starlark version of aar_import
-
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.
-
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.
-
This also updates the default label to import aar_import from, from
@build_bazel_rules_android//android:rules.bzlto@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.bzlexists, but only for backwards compatibility). -
This also disbles
--experimental_sibling_repository_layoutadded 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.