diff --git a/examples/basic/MODULE.bazel b/examples/basic/MODULE.bazel index 1c69a06..adf9c43 100644 --- a/examples/basic/MODULE.bazel +++ b/examples/basic/MODULE.bazel @@ -18,7 +18,7 @@ bazel_dep(name = "rules_android", version = "0.0.0") # version is available on BCR. git_override( module_name = "rules_android", - commit = "dd7b90c91fdc4edeca90ba9ebffa3c469b426a35", + commit = "57bed3f556c698b0a0e692f729ed7edfd804db98", remote = "https://github.com/bazelbuild/rules_android", ) diff --git a/examples/basic/README.md b/examples/basic/README.md index 5808669..e44788e 100644 --- a/examples/basic/README.md +++ b/examples/basic/README.md @@ -1,5 +1,5 @@ To build, run: - bazel build java/com/app --fat_apk_cpu=arm64-v8a,x86 --android_crosstool_top=@androidndk//:toolchain + bazel build java/com/app --android_platforms=//:arm64-v8a,//:x86 in this directory. diff --git a/examples/basic/WORKSPACE b/examples/basic/WORKSPACE index a28143f..cdf7815 100644 --- a/examples/basic/WORKSPACE +++ b/examples/basic/WORKSPACE @@ -9,11 +9,11 @@ local_repository( load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -RULES_ANDROID_COMMIT = "dd7b90c91fdc4edeca90ba9ebffa3c469b426a35" +RULES_ANDROID_COMMIT = "57bed3f556c698b0a0e692f729ed7edfd804db98" http_archive( name = "rules_android", - sha256 = "d0b310dd23442b8ff024cba73ad7564024b473673d8d5de7d01bd91adb9aa2d0", + sha256 = "e1ee3cd26581bd563f8087a9d325b97f130ab26cd5dede7139340603a93223d5", strip_prefix = "rules_android-" + RULES_ANDROID_COMMIT, urls = ["https://github.com/bazelbuild/rules_android/archive/%s.zip" % RULES_ANDROID_COMMIT], )