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.
|
// 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.
|
// 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:
|
// 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
Latest version of KGP is 2.3.0
https://kotlinlang.org/docs/gradle-configure-project.html#apply-the-plugin
Update
maxKnownAndSupportedKgpVersionto 2.3.0.flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 78 to 82 in ee37b97
Update
maxKnownAgpVersionWithFullKotlinSupportto 8.13.0.flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 91 to 95 in ee37b97
maxKnownAndSupportedAgpVersionis already set to 9.0:flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 84 to 89 in ee37b97
Last bump: #177416