Skip to content

Conversation

jesswrd
Copy link
Contributor

@jesswrd jesswrd commented Oct 7, 2025

When Flutter clients use published plugins that depend on other outdated/older plugins with an app using Gradle 9, they will be using outdated Gradle 9 deprecated patterns (in build.gradle). To ensure usage of resolved deprecated build.gradle files, Flutter clients can specify the pub version in this PR.

Should have included versioning and changelog in this PR: #10016

Pre-Review Checklist

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

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.

Footnotes

  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. 2 3

Copy link

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

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 multiple packages to resolve Gradle 9 deprecations. The changes involve bumping package versions in pubspec.yaml files and adding corresponding entries to CHANGELOG.md files.

My review found several issues with the CHANGELOG.md files:

  • In some cases, a new version is inserted into the middle of the changelog history, which is incorrect. New versions should always be at the top.
  • In other cases, the changelog entry for the new version is swapped with an older one.

I've left specific comments on the affected files with suggestions for correction.

Additionally, it seems that for some packages where the CHANGELOG.md was updated, the corresponding pubspec.yaml file was not included in the pull request. Please ensure that for every updated changelog, the pubspec.yaml version is also bumped and included in the PR.

Comment on lines +1 to +7
## 0.10.10+9

* Restores compileSdk version to flutter.compileSdkVersion.

## 0.10.10+8

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

The changelog entries appear to be misaligned. The new change 'Resolves Gradle 9 deprecations' should be under the new version 0.10.10+9.

Suggested change
## 0.10.10+9
* Restores compileSdk version to flutter.compileSdkVersion.
## 0.10.10+8
* Resolves Gradle 9 deprecations.
## 0.10.10+9
* Resolves Gradle 9 deprecations.
## 0.10.10+8
* Restores compileSdk version to flutter.compileSdkVersion.

Comment on lines +1 to +12
## 0.4.0+17

* Bumps `com.google.guava:guava` from `33.4.8-android` to `33.5.0-android`.

## 0.4.0+15
## 0.4.0+16

* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

## 0.4.0+15

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

The changelog entries appear to be misaligned. The new change, 'Resolves Gradle 9 deprecations', should be under the new version 0.4.0+17. The previous versions' entries should be preserved correctly.

Suggested change
## 0.4.0+17
* Bumps `com.google.guava:guava` from `33.4.8-android` to `33.5.0-android`.
## 0.4.0+15
## 0.4.0+16
* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
## 0.4.0+15
* Resolves Gradle 9 deprecations.
## 0.4.0+17
* Resolves Gradle 9 deprecations.
## 0.4.0+16
* Bumps `com.google.guava:guava` from `33.4.8-android` to `33.5.0-android`.
## 0.4.0+15
* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

Comment on lines +6 to +8
## 0.5.1+18

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

This new version 0.5.1+18 is older than the current latest version 0.5.2. The new change should be under a new, higher version number (e.g., 0.5.3 or 0.5.2+1) at the top of the file.

Comment on lines +5 to +7
## 0.2.7+1

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

This new version 0.2.7+1 is older than the current latest version 0.2.8. The new change should be under a new, higher version number (e.g., 0.2.9 or 0.2.8+1) at the top of the file.

Comment on lines +1 to +8
## 1.0.25

* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

## 1.0.24

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

The changelog entries appear to be misaligned. The new change 'Resolves Gradle 9 deprecations' should be under the new version 1.0.25.

Suggested change
## 1.0.25
* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
## 1.0.24
* Resolves Gradle 9 deprecations.
## 1.0.25
* Resolves Gradle 9 deprecations.
## 1.0.24
* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

Comment on lines +1 to +8
## 2.4.15

* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

## 2.4.14

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

The changelog entries appear to be misaligned. The new change 'Resolves Gradle 9 deprecations' should be under the new version 2.4.15.

Suggested change
## 2.4.15
* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
## 2.4.14
* Resolves Gradle 9 deprecations.
## 2.4.15
* Resolves Gradle 9 deprecations.
## 2.4.14
* Updates Java compatibility version to 17.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

Comment on lines +1 to +7
## 6.3.24

* Updates Java compatibility version to 17.

## 6.3.23

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

The changelog entries appear to be misaligned. The new change 'Resolves Gradle 9 deprecations' should be under the new version 6.3.24.

Suggested change
## 6.3.24
* Updates Java compatibility version to 17.
## 6.3.23
* Resolves Gradle 9 deprecations.
## 6.3.24
* Resolves Gradle 9 deprecations.
## 6.3.23
* Updates Java compatibility version to 17.

Comment on lines +1 to +11
## 4.10.5

* Adds a README section about enabling geolocation.

## 4.10.3
## 4.10.4

* Updates Java compatibility version to 17.

## 4.10.3

* Resolves Gradle 9 deprecations.

Choose a reason for hiding this comment

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

medium

The changelog entries appear to be misaligned. The new change 'Resolves Gradle 9 deprecations' should be under the new version 4.10.5.

Suggested change
## 4.10.5
* Adds a README section about enabling geolocation.
## 4.10.3
## 4.10.4
* Updates Java compatibility version to 17.
## 4.10.3
* Resolves Gradle 9 deprecations.
## 4.10.5
* Resolves Gradle 9 deprecations.
## 4.10.4
* Adds a README section about enabling geolocation.
## 4.10.3
* Updates Java compatibility version to 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant