Skip to content

Bump rules_android from 0.7.3 to 0.8.0 - #108

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rules_android-0.8.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rules_android-0.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rules_android from 0.7.3 to 0.8.0.

Release notes

Sourced from rules_android's releases.

v0.8.0

Release summary

We’ve cleaned up legacy Android flags in native Bazel and ported them to rules_android. These changes will take effect in rules_android 0.8.0+ and Bazel 10+.

Android Configuration Flag Starlarkification

We’ve refactored the rule implementations to no longer read from the Bazel Android configuration fragment and instead obtain that information directly from new Starlark flags in rules_android. We’ve added flag_alias()es to rules_android’s MODULE file such that existing uses of relevant Android configuration flags will still work seamlessly.

Android Execution Strategy Flags

The legacy Bazel flags to control Android build execution strategy could not be Starlarkified, and their respective behaviors instead are expressed in the form of many --modify_execution_info flags in android_persistent_workers.bazelrc. We encourage you to copy this file into your project to avoid having to manually specify a large number of execution info flags.

If you relied on e.g. --persistent_android_dex_desugar before, you can activate that behavior with the equivalent --config=persistent_android_dex_desugar after importing the worker bazelrc.

Deprecated Flags

We deprecated around 30 obsolete or no-op native Android flags from Bazel. These should be removed from bazelrc files, scripts, and build invocations in general.

Usage

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.8.0")
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 = "ebc0b6e0b9461281310fa3038b76d7ed5b5ed929eca3dd15a075dae3664f5cfa",
    strip_prefix = "rules_android-0.8.0",
    url = "https://github.com/bazelbuild/rules_android/releases/download/v0.8.0/rules_android-v0.8.0.tar.gz",
)
</tr></table>

... (truncated)

Commits
  • e7207a9 Fetch dexbuilder and desugar from the toolchain in dex_desugar_aspect
  • 33545b2 Merge #567 by ted-xie: Update presubmit.yml
  • b15ea19 Fix the tools compilation and Windows desugared-library launcher failures see...
  • ad7a9ba Use placeholders in progress_message throughout the Android rules to save ana...
  • 95657e4 Use the target's compilation bootclasspath when desugaring in mobile-install.
  • 70d4327 Include output path in StarlarkRClassGenerator progress message
  • cd8cbc1 Remove mnc000 assertion.
  • 5d34b1b Pass --deduplicate-entry-values in busybox aapt2 optimize
  • 2474d19 Add flag aliases for Starlark-defined Android flags to MODULE.bazel.
  • 7f84dab Add the SDK annotations jar to the classpath of AOSP-generated AIDL sources.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rules_android](https://github.com/bazelbuild/rules_android) from 0.7.3 to 0.8.0.
- [Release notes](https://github.com/bazelbuild/rules_android/releases)
- [Commits](bazelbuild/rules_android@v0.7.3...v0.8.0)

---
updated-dependencies:
- dependency-name: rules_android
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels Oct 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like rules_android is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 4, 2026
@dependabot
dependabot Bot deleted the dependabot/bazel/rules_android-0.8.0 branch October 4, 2026 10:49

This branch was successfully deployed

1 active deployment
github-pages — e56bf6b9 Deployed Oct 4, 2026 by dependabot[bot] via publish #145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants