Bump Kotlin to 2.2.20, minimum Kotlin to 2.1 (#1232)

The current version of the kotlin-gradle plugin is not compatible with
Gradle 9.1, causing error `java.lang.NoSuchMethodError:
 'org.gradle.api.Project org.gradle.api.artifacts.ProjectDependency.getDependencyProject()'`

Also, the Kotlin 2.0 language target is deprecated as of Kotlin 2.2.
This commit is contained in:
Daniel Chao
2025-10-08 21:40:35 -07:00
committed by GitHub
parent ffa3c14fb3
commit 98ab741c54
21 changed files with 608 additions and 349 deletions

View File

@@ -32,7 +32,9 @@ Ready when you need them.
Things to watch out for when upgrading.
=== XXX
=== Minimum Kotlin version bump
For users of Pkl's Kotlin libraries, the minimum Kotlin version has been bumped to 2.1 (https://github.com/apple/pkl/pull/900[#900]).
== Miscellaneous [small]#🐸#