Skip to content

[AGP 9] Bump Flutter Test Apps to Newer Template Version#189024

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
jesswrd:bump-test-app-temps
Jul 7, 2026
Merged

[AGP 9] Bump Flutter Test Apps to Newer Template Version#189024
auto-submit[bot] merged 2 commits into
flutter:masterfrom
jesswrd:bump-test-app-temps

Conversation

@jesswrd

@jesswrd jesswrd commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumping all Flutter test apps to align with newer AGP template versions:
AGP 9.1.0
Gradle 9.3.1
KGP 2.4.0

Note: This looks like a massive change due to lockfile regeneration. Since we update test app dependency versions, we must regenerate their respective lockfiles. We use this script located at: dev/tools/bin/generate_gradle_lockfiles.dart to regenerate lockfiles.

Related to: #188762
Partially Addresses: #189381

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.

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jul 6, 2026
@github-actions github-actions Bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. d: examples Sample code and demos f: integration_test The flutter/packages/integration_test plugin team-web Owned by Web platform team labels Jul 6, 2026

@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 build configuration across multiple benchmark and integration test projects by upgrading the Android Gradle Plugin to 9.1.0, the Kotlin Gradle plugin to 2.4.0, and the Gradle wrapper to 9.3.1. It also updates associated dependency versions in the Gradle lockfiles and explicitly exports the FlutterActivity in the stocks test app's AndroidManifest.xml. There are no review comments to assess, and I have no feedback to provide.

@camsim99 camsim99 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.

RSLGTM

@jesswrd jesswrd added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 7, 2026
@auto-submit
auto-submit Bot added this pull request to the merge queue Jul 7, 2026
Merged via the queue into flutter:master with commit 607d3a9 Jul 7, 2026
188 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 7, 2026
pull Bot pushed a commit to Spencerx/flutter that referenced this pull request Jul 7, 2026
PR flutter#189024 migrated most Flutter
test apps to AGP 9, but missed
`dev/integration_tests/android_hardware_smoke_test/android/app/build.gradle.kts`,
probably because its CI config still has `bringup:true`. Staging
builders recently started building with that PR, causing this test suite
to fail.

This PR performs the migration. For this directory, we only need to
update the build.gradle.kts file because the other files relevant to the
migration are not checked in to git, but are expected to be regenerated
with `flutter create --no-overwrite`.

This PR will resolve issue
flutter#189083, and unblock the remove
bringup PR flutter#189081.

## Pre-launch Checklist

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

<!-- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests CICD Run CI/CD d: examples Sample code and demos f: integration_test The flutter/packages/integration_test plugin framework flutter/packages/flutter repository. See also f: labels. team-web Owned by Web platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants