Skip to content

Update dependency rules_android to v0.6.6 #451

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

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 12, 2025

This PR contains the following updates:

Package Type Update Change
rules_android bazel_dep patch 0.6.5 -> 0.6.6

Release Notes

bazelbuild/rules_android (rules_android)

v0.6.6

Using Bzlmod with Bazel 6 or greater
  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
##### See examples/basicapp/MODULE.bazel.
bazel_dep(name = "rules_android", version = "0.6.6")
remote_android_extensions = use_extension(
    "@​rules_android//bzlmod_extensions:android_extensions.bzl",
    "remote_android_tools_extensions")
use_repo(remote_android_extensions, "android_tools")

android_sdk_repository_extension = use_extension("@​rules_android//rules/android_sdk_repository:rule.bzl", "android_sdk_repository_extension")
use_repo(android_sdk_repository_extension, "androidsdk")

register_toolchains("@​androidsdk//:sdk-toolchain", "@​androidsdk//:all")
Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_android",
    sha256 = "f8f8bca6df61ea6070a0a8abc4054940b19c9fdb4fabb864e40d29d124f517f9",
    strip_prefix = "rules_android-0.6.6",
    url = "https://github.com/bazelbuild/rules_android/releases/download/v0.6.6/rules_android-v0.6.6.tar.gz",
)

##### Android rules dependencies
load("@​rules_android//:prereqs.bzl", "rules_android_prereqs")
rules_android_prereqs()

##### rules_java setup for rules_android #####
load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()

load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()

##### note that the following line is what is minimally required from protobuf for the java rules
##### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features")  # buildifier: disable=bzl-visibility
proto_bazel_features(name = "proto_bazel_features")

##### register toolchains
load("@​rules_java//java:repositories.bzl", "rules_java_toolchains")
rules_java_toolchains()

##### rules_jvm_external setup for rules_android #####
load("@​rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
rules_jvm_external_deps()
load("@​rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
rules_jvm_external_setup()

##### rules_android setup #####
load("@​rules_android//:defs.bzl", "rules_android_workspace")
rules_android_workspace()

##### Android SDK setup
load("@​rules_android//rules:rules.bzl", "android_sdk_repository")
android_sdk_repository(
    name = "androidsdk",
)

register_toolchains(
    "@​rules_android//toolchains/android:android_default_toolchain",
    "@​rules_android//toolchains/android_sdk:android_sdk_tools",
)
In BUILD

Load the rules from rules_android:

load("@​rules_android//rules:rules.bzl", "android_binary", "android_library")
android_binary(
    ...
)

android_library(
   ...
)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@malkia malkia merged commit b483d71 into main Aug 12, 2025
@malkia malkia deleted the renovate/all-minor-and-patch-dependencies branch August 12, 2025 23:43
@renovate renovate bot changed the title Update otel/opentelemetry-collector Docker tag to v0.132.0 Update dependency rules_android to v0.6.6 Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant