Skip to content

Commit 44be35d

Browse files
authored
Upgrade AGP to 8.9.1 (#10458)
Upgrades AGP to 8.9.1. A few dependabot PRs are stuck because they are failing with similar error messages: ``` * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction > An issue was found when checking AAR metadata: 1. Dependency 'androidx.browser:browser:1.9.0' requires Android Gradle plugin 8.9.1 or higher. This build currently uses Android Gradle plugin 8.6.0. ``` Blocked PRs: * #9855 * #10045 ## Pre-Review Checklist
1 parent f0b3441 commit 44be35d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.ci/legacy_project/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ and then deleting everything but `android/` from it:
4141
`build.gradle` to maintain compatibility with plugins that use
4242
Flutter's most recently supported API version.
4343
- Modifies `gradle-wrapper.properties` to upgrade the Gradle version
44-
from 8.4 to 8.7. If a user runs into an error with the Gradle
44+
from 8.4 to 8.11.1. If a user runs into an error with the Gradle
4545
version, the warning is clear on how to upgrade the version to
4646
one that we support.
4747
- Modifies `settings.gradle` to upgrade the Android Gradle Plugin (AGP)
4848
from version 8.3.0 (originally set in `build.gradle`; see bullet below)
49-
to 8.6.0. If a user runs into an error with the AGP version, the warning
49+
to 8.9.1. If a user runs into an error with the AGP version, the warning
5050
is clear on how to upgrade the version to one that we support.
5151
- Refactor plugin to use declarative Gradle apply instead of the
5252
imperative apply (this includes moving where the Android Gradle

.ci/legacy_project/all_packages/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip

.ci/legacy_project/all_packages/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919
// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "8.6.0" apply false
22+
id "com.android.application" version "8.9.1" apply false
2323
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2424
}
2525

0 commit comments

Comments
 (0)