mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #1232] [MERGED] Bump Kotlin to 2.2.20, minimum Kotlin to 2.1 #955
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1232
Author: @bioball
Created: 10/9/2025
Status: ✅ Merged
Merged: 10/9/2025
Merged by: @bioball
Base:
main← Head:bump-kotlin📝 Commits (1)
d59c18aBump Kotlin to 2.2.20, minimum Kotlin to 2.1📊 Changes
21 files changed (+608 additions, -349 deletions)
View changed files
📝
bench/gradle.lockfile(+35 -20)📝
buildSrc/src/main/kotlin/pklKotlinLibrary.gradle.kts(+2 -0)📝
docs/gradle.lockfile(+35 -20)📝
docs/modules/release-notes/pages/0.30.adoc(+3 -1)📝
gradle/libs.versions.toml(+1 -1)📝
pkl-cli/gradle.lockfile(+35 -20)📝
pkl-codegen-java/gradle.lockfile(+35 -20)📝
pkl-codegen-kotlin/gradle.lockfile(+37 -22)📝
pkl-commons-cli/gradle.lockfile(+35 -20)📝
pkl-commons-test/gradle.lockfile(+35 -20)📝
pkl-commons/gradle.lockfile(+35 -20)📝
pkl-config-java/gradle.lockfile(+35 -20)📝
pkl-config-kotlin/gradle.lockfile(+35 -20)📝
pkl-core/gradle.lockfile(+35 -20)📝
pkl-doc/gradle.lockfile(+36 -21)📝
pkl-executor/gradle.lockfile(+35 -20)📝
pkl-formatter/gradle.lockfile(+35 -20)📝
pkl-gradle/gradle.lockfile(+35 -20)📝
pkl-parser/gradle.lockfile(+35 -20)📝
pkl-server/gradle.lockfile(+35 -20)...and 1 more files
📄 Description
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()'.This happens when running a
GenerateMavenPomtask (e.g../gradlew pkl-codegen-kotlin:generatePomFileForLibraryPublication).Also, the Kotlin 2.0 language target is deprecated as of Kotlin 2.2.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.