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.
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, usingkotlinOptions{} 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.