Repository navigation
chore: bump gradle-wrapper from 7.5.1 to 9.8.2 in /android - #149
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 7.5.1 to 9.8.2. - [Release notes](https://github.com/gradle/gradle/releases) - [Commits](gradle/gradle@v7.5.1...v9.8.2) --- updated-dependencies: - dependency-name: gradle-wrapper dependency-version: 9.8.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.2-all.zip |
There was a problem hiding this comment.
🟣 pre-existing, not blocking: Anyone building the plugin's Android module with this wrapper gets Gradle 9.8.2 paired with AGP 8.2.0. Gradle 9 does not support that AGP version, so the build still fails. The project still applies com.android.tools.build:gradle:8.2.0 (android/build.gradle:12). Gradle 9 removed APIs that older AGP 8.x releases depend on. Fix: pick a wrapper version inside the AGP 8.2.0 range, such as 8.14.3, which example/android already uses. Otherwise bump AGP to a release that supports Gradle 9 in the same PR. Pre-existing: the base 7.5.1 was already below the Gradle 8.2 minimum for AGP 8.2.
A small fix can ride a push you are already making; otherwise a short reply is enough.
Why this was flagged
The trigger is running ./gradlew or opening android/ on its own (IDE sync or CI) after this merge, which downloads gradle-9.8.2-all.zip set at android/gradle/wrapper/gradle-wrapper.properties:5. The buildscript in android/build.gradle:12 still loads AGP 8.2.0 and Kotlin 2.1.20, and the diff leaves both unchanged. AGP 8.2.0 is not on Gradle 9's tested AGP range, and Gradle 9 removed deprecated APIs that older AGP 8.x uses, so configuration fails instead of producing a working build. The base pinned Gradle 7.5.1, which was also below AGP 8.2.0's Gradle 8.2 minimum, so the standalone module was already unbuildable and this bump does not fix it. The impact is limited to standalone builds of the plugin module. Flutter apps that consume the plugin use their own wrapper, for example example/android at gradle-8.14.3 with AGP 8.11.1. Dependabot's version-only bump has no compatibility check against AGP.
Verification: The diff changes only android/gradle/wrapper/gradle-wrapper.properties:5, from gradle-7.5.1-all.zip to gradle-9.8.2-all.zip. android/build.gradle:12 still sets classpath 'com.android.tools.build:gradle:8.2.0'. The base is already broken the same way: AGP 8.2.0 needs Gradle 8.2 or newer, so the base wrapper (7.5.1) fails configuration. This bump makes nothing worse than the base.
Bumps gradle-wrapper from 7.5.1 to 9.8.2.
Release notes
Sourced from gradle-wrapper's releases.
... (truncated)
Commits
8de7bcfSpeed up the AllVersionsCrossVersion flaky quarantine (#39494)66805dbRun all cross-version targets in flaky quarantinecdd4c8fSkip empty test tasks in the flaky test quarantine6badb77Split the AllVersionsCrossVersion quarantine across agents1655e44Prepare for 9.8.2 (#39492)6702214Prepare for 9.8.2688c0c1Fix false warning about unstable graph (#39479)3601d4fClarify selector reuse comments in SelectorState6e836fdFix false warning about unstable grapha0790e5Fix hidden artifact cleanup pattern in CheckProject (#39451)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)