-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
platform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Latest version of KGP is 2.3.0
https://kotlinlang.org/docs/gradle-configure-project.html#apply-the-plugin
| KGP version | Gradle min and max versions | AGP min and max versions |
|---|---|---|
| 2.3.0 | 7.6.3–9.0.0 | 8.2.2–8.13.0 |
| 2.2.20–2.2.21 | 7.6.3–8.14 | 7.3.1–8.11.1 |
Update maxKnownAndSupportedKgpVersion to 2.3.0.
flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 78 to 82 in ee37b97
| // Update this with new KGP versions come out including minor versions. | |
| // | |
| // Supported here means supported by the tooling for | |
| // flutter analyze --suggestions and does not imply broader flutter support. | |
| const maxKnownAndSupportedKgpVersion = '2.2.20'; |
Update maxKnownAgpVersionWithFullKotlinSupport to 8.13.0.
flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 91 to 95 in ee37b97
| // Update this when new versions of AGP with Kotlin support come out. | |
| // | |
| // Supported here means supported by the tooling for | |
| // flutter analyze --suggestions and does not imply broader flutter support. | |
| const maxKnownAgpVersionWithFullKotlinSupport = '8.11.1'; |
maxKnownAndSupportedAgpVersion is already set to 9.0:
flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 84 to 89 in ee37b97
| // Update this when new versions of AGP come out. | |
| // | |
| // Supported here means tooling is aware of this version's Java <-> AGP | |
| // compatibility. | |
| @visibleForTesting | |
| const maxKnownAndSupportedAgpVersion = '9.0'; |
Last bump: #177416
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.