Repository navigation
Commit a6fd8b1
committed
fix: resolve issue flutter#167931 by providing suggested versions in all Gradle compatibility error messages
- Refactored KGP/Gradle and AGP/KGP compatibility checks in gradle_utils.dart into declarative constant lists.
- Implemented bidirectional suggestion helper functions to find compatible ranges for Java, Gradle, AGP, and KGP.
- Updated project.dart validation to output clear version suggestions for all compatibility violations.
- Refactored warning accumulation to prevent descriptions from being overwritten.
- Added comprehensive unit and integration tests covering the compatibility suggestions.1 parent 8bc1f30 commit a6fd8b1
4 files changed
Lines changed: 719 additions & 140 deletions
File tree
- packages/flutter_tools
- lib/src
- android
- test/general.shard/android
0 commit comments