Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rules_android to 9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab #1196

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ common --enable_bzlmod=true
common:rbe --java_runtime_version=11
common:rbe --tool_java_runtime_version=11

common --experimental_google_legacy_api
common --experimental_enable_android_migration_apis

build --strategy=KotlinCompile=worker
build --test_output=all
build --verbose_failures
Expand Down
8 changes: 8 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ bazel_dep(name = "rules_java", version = "7.2.0")
bazel_dep(name = "rules_python", version = "0.23.1")
bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "rules_android", version = "0.1.1")
archive_override(
module_name = "rules_android",
integrity = "sha256-bYPUqD0GhAD9gOG2Pi2MGwcJtGyVEi4vlSrgElw+9eE=",
strip_prefix = "rules_android-9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab",
urls = [
"https://github.com/bazelbuild/rules_android/archive/9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab.tar.gz",
],
)

rules_kotlin_extensions = use_extension("//src/main/starlark/core/repositories:bzlmod_setup.bzl", "rules_kotlin_extensions")
use_repo(
Expand Down
8 changes: 8 additions & 0 deletions MODULE.release.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ bazel_dep(name = "rules_java", version = "7.2.0")
bazel_dep(name = "rules_python", version = "0.23.1")
bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "rules_android", version = "0.1.1")
archive_override(
module_name = "rules_android",
integrity = "sha256-bYPUqD0GhAD9gOG2Pi2MGwcJtGyVEi4vlSrgElw+9eE=",
strip_prefix = "rules_android-9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab",
urls = [
"https://github.com/bazelbuild/rules_android/archive/9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab.tar.gz",
],
)

rules_kotlin_extensions = use_extension(
"//src/main/starlark/core/repositories:bzlmod_setup.bzl",
Expand Down
6 changes: 3 additions & 3 deletions src/main/starlark/core/repositories/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ versions = struct(
sha256 = "ee0618755913ef7fd6511288a232e8fad24838b9af6ea73972a76e81053c8c2d",
),
ANDROID = struct(
VERSION = "0.1.1",
SHA = "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806",
URLS = ["https://github.com/bazelbuild/rules_android/archive/v%s.zip" % "0.1.1"],
VERSION = "9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab",
SHA = "6d83d4a83d068400fd80e1b63e2d8c1b0709b46c95122e2f952ae0125c3ef5e1",
URLS = ["https://github.com/bazelbuild/rules_android/archive/%s.tar.gz" % "9356a1dd5cbe84ca9247d24bcdb39ae0c4a7b4ab"],
),
# To update: https://github.com/bazelbuild/bazel-toolchains#latest-bazel-and-latest-ubuntu-1604-container
RBE = struct(
Expand Down