Skip to content

Commit efefea6

Browse files
authored
Resolve android_build_all_packages Warnings (#9643)
Addressed versioning warnings by updating the following dependencies to their minimum supported versions: Gradle: 8.7 AGP: 8.6.0 KGP: 2.1.0 ## Pre-Review Checklist **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. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent f2ff383 commit efefea6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.ci/legacy_project/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,16 @@ 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 6.7 to 8.4. If a user runs into an error with the Gradle
44+
from 8.4 to 8.7. 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)
48-
from version 4.1.0 (originally set in `build.gradle`; see bullet below)
49-
to 8.3.0. If a user runs into an error with the AGP version, the warning
48+
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
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
5353
Plugin (AGP) version is set from `build.gradle` to `settings.gradle`).
54+
- Modifies `settings.gradle` to upgrade the Kotlin Gradle Plugin (KGP)
55+
from version 1.9.0 to 2.1.0. If a user runs into an error with the AGP version,
56+
the warning is clear on how to upgrade the version to one that we support.

.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.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ 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.3.0" apply false
23-
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
22+
id "com.android.application" version "8.6.0" apply false
23+
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2424
}
2525

2626
include ":app"

0 commit comments

Comments
 (0)