Skip to content

Bump max known KGP to 2.3.0 and AGP to match #181228

@jmagman

Description

@jmagman

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

Metadata

Metadata

Assignees

Labels

platform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions