Skip to content

[AGP 9] Raise KGP Error and Warn Version #184384

Description

@jesswrd

To ensure developers can safely migrate to Built-in Kotlin starting AGP 9, we must upgrade the KGP error version (minimum supported version) to KGP 2.0.0 because the kotlinOptions{} DSL is deprecated in KGP 2.0.0 can be safely migrated to kotlin.compilerOptions{} DSL here.

The warn KGP version was updated to a KGP 2.2.20 because it is a version that is still safe to use the kotlinOptions{} DSL 2.2.20. Starting 2.3.0, using kotlinOptions{} DSL results in a compilation error here. The goal is to rasie the KGP warn version such that we can also raise the AGP and Gradle warn version in preparation for AGP 9.

The error and warn dependencies of AGP and Gradle had to be raised accordingly and were dictated by KGP here.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions