Skip to content

Bumped Engine AGP Dependencies to 9.1.0 for 3.50 - #189417

Merged
auto-submit[bot] merged 6 commits into
flutter:masterfrom
jesswrd:engine-to-agp-9
Jul 25, 2026
Merged

auto-submit[bot] merged 6 commits into
flutter:masterfrom
jesswrd:engine-to-agp-9

Conversation

@jesswrd

@jesswrd jesswrd commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumped the Engine AGP dependencies to 9.1.0 for Flutter 3.50. This only affects engine contributors so it will not be CP'ed.

Partially Addresses #189232

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@jesswrd
jesswrd marked this pull request as ready for review July 14, 2026 01:54
@jesswrd
jesswrd requested a review from a team as a code owner July 14, 2026 01:54
@jesswrd
jesswrd requested review from mboetger and removed request for a team July 14, 2026 01:54
@github-actions github-actions Bot added platform-android Android applications specifically engine flutter/engine related. See also e: labels. team-android Owned by Android platform team labels Jul 14, 2026
@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Android Gradle plugin dependency ('com.android.tools.build:gradle') to version '9.1.0' in the build configuration files for the Android platform shell, the test runner, and the CIPD android embedding bundle. There are no review comments, and I have no feedback to provide.

@jesswrd jesswrd added the CICD Run CI/CD label Jul 14, 2026
@reidbaker
reidbaker self-requested a review July 14, 2026 21:22
@AbdeMohlbi

Copy link
Copy Markdown
Member

To land this you would need to use gradle 9.3.1, FYI @reidbaker that's why i asked if you could upload gradle 9.3.1 a while ago, another thing is that it's still using gradle 8.11 i don't remember how we usually change it

@AbdeMohlbi

Copy link
Copy Markdown
Member

Also if we can land this, we can bump the target sdk to 37 safely

mavenCentral()
}

apply plugin: "com.android.library"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be updated to use the plugins {} format?

plugins { id("com.android.library") }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it would be a best practice to replace all usages of the imperative format with the declarative from above. Created an issue to track it here. Not a pressing issue because Gradle is not deprecating the imperative format and is just calling it "legacy" here and this Gradle forum here.

Not fixing it in this PR since there are multiple instances.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there not failing tests?

@jesswrd

jesswrd commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

To land this you would need to use gradle 9.3.1, FYI @reidbaker that's why i asked if you could upload gradle 9.3.1 a while ago, another thing is that it's still using gradle 8.11 i don't remember how we usually change it

Correct. Yesterday, I uploaded gradle 9.3.1 to CIPD.

@jesswrd jesswrd added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 24, 2026
@auto-submit
auto-submit Bot added this pull request to the merge queue Jul 24, 2026
Merged via the queue into flutter:master with commit a6ab6a5 Jul 25, 2026
20 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 25, 2026
auto-submit Bot pushed a commit to flutter/packages that referenced this pull request Jul 25, 2026
flutter/flutter@b65f4d9...e292197

2026-07-25 [email protected] Roll Skia from 2c014dc494f1 to 62442d6cf0ec (1 revision) (flutter/flutter#190022)
2026-07-25 [email protected] Roll Skia from d8d20eef4dbd to 2c014dc494f1 (1 revision) (flutter/flutter#190020)
2026-07-25 [email protected] [Impeller] Add 2D texture array support (kTexture2DArray) (flutter/flutter#188778)
2026-07-24 [email protected] Bumped Engine AGP Dependencies to 9.1.0 for 3.50 (flutter/flutter#189417)
2026-07-24 [email protected] Roll Dart SDK from 153abd9a8296 to 28e63ac22d8d (2 revisions) (flutter/flutter#190013)
2026-07-24 [email protected] ci: add mac verify binaries workflow (flutter/flutter#190010)
2026-07-24 [email protected] Roll Skia from f2f9b52fe1ee to d8d20eef4dbd (21 revisions) (flutter/flutter#190011)
2026-07-24 [email protected] fix(ci): quote labels to fix yaml mapping error (flutter/flutter#190002)
2026-07-24 [email protected] Update contributing guidelines for commit message format (flutter/flutter#189922)
2026-07-24 [email protected] Migrate a11y_assessments to uiscene (flutter/flutter#189960)
2026-07-24 [email protected] docs(contributing): add git worktree and rebase workflow guide (flutter/flutter#189992)
2026-07-24 [email protected] Roll Dart SDK from e3fc57eae9eb to 153abd9a8296 (3 revisions) (flutter/flutter#189987)
2026-07-24 [email protected] Rename RegularWindow* to Window* in the windowing API + rename sizedToContent to shrinkWrap in the windowing API (flutter/flutter#189363)
2026-07-24 [email protected] Remove ancient `tools:tools` dep from `android_sdk` bundle (flutter/flutter#189962)
2026-07-24 [email protected] Reduce the number of gtest-parallel workers when running Impeller tests on Mac Minis used by CI (flutter/flutter#189813)
2026-07-24 [email protected] Roll Packages from 8260a1e to 6969329 (21 revisions) (flutter/flutter#189983)
2026-07-24 [email protected] Roll Fuchsia Linux SDK from 9org0yL3yZkp80x5S... to Cdb1RGKCqpcz9z4cl... (flutter/flutter#189975)
2026-07-24 [email protected] Roll Skia from 6e9c4687c001 to f2f9b52fe1ee (3 revisions) (flutter/flutter#189959)
2026-07-24 [email protected] [web] Cancel touch pointers WebKit abandons mid-gesture (flutter/flutter#189608)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
dayanruben pushed a commit to dayanruben/flutter that referenced this pull request Oct 2, 2026
Updated engine defaults to SDK 37. 

Helpful tip for future: All the tooling updates have the exact same
naming conventions as whatever got uploaded to CIPD (so whatever is
bundled with AS). Everything failed when I did updated to
`"//flutter/third_party/android_tools/sdk/platforms/android-37/android.jar"`.
Android tooling decided to change the naming convention to
`../platforms/android-37.0`, so the above failed. I downloaded a
recently uploaded SDK to check and lo and there was a `.0`.

There was no need to update the Gradle version due to:
flutter#189417
Some defaults have already been updated by:
flutter#189962

Partially Addresses flutter#189518

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

If this change needs to override an active code freeze, provide a
comment explaining why. The code freeze workflow can be overridden by
code reviewers. See pinned issues for any active code freezes with
guidance.

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[AI contribution guidelines]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: Gray Mackall <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD engine flutter/engine related. See also e: labels. platform-android Android applications specifically team-android Owned by Android platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants