mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
[PR #919] Kotlin ABI checks #803
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/919
Author: @sgammon
Created: 1/31/2025
Status: 🔄 Open
Base:
main← Head:feat/kotlin-abi-checks📝 Commits (2)
5c395d2feat: kotlin abi checks, initial dump7058067feat: add hatch for opt-in experimental types📊 Changes
17 files changed (+15860 additions, -1 deletions)
View changed files
📝
build.gradle.kts(+9 -1)📝
buildSrc/build.gradle.kts(+1 -0)📝
gradle/libs.versions.toml(+3 -0)➕
pkl-cli/api/pkl-cli.api(+174 -0)➕
pkl-codegen-java/api/pkl-codegen-java.api(+81 -0)➕
pkl-codegen-kotlin/api/pkl-codegen-kotlin.api(+69 -0)➕
pkl-commons-cli/api/pkl-commons-cli.api(+170 -0)➕
pkl-commons-test/api/pkl-commons-test.api(+123 -0)➕
pkl-commons/api/pkl-commons.api(+36 -0)➕
pkl-commons/src/main/kotlin/org/pkl/commons/annotations/PklExperimental.kt(+25 -0)➕
pkl-config-java/api/pkl-config-java.api(+238 -0)➕
pkl-config-kotlin/api/pkl-config-kotlin.api(+24 -0)➕
pkl-core/api/pkl-core.api(+14229 -0)➕
pkl-doc/api/pkl-doc.api(+143 -0)➕
pkl-executor/api/pkl-executor.api(+88 -0)➕
pkl-gradle/api/pkl-gradle.api(+243 -0)➕
pkl-server/api/pkl-server.api(+204 -0)📄 Description
Summary
Kotlin ABI Check: Checks Kotlin public library symbols for drift. Run
apiCheckto make sure a change does not break downstream Java/Kotlin library consumers; runapiDumpto re-seal public API lockfiles.Initial API lockfiles were generated as well.
apiCheckruns on./gradlew checkby default, preventing downstream API/ABI breakage when Pkl is used as a Maven library.PklExperimentalannotation for opt-out of API pinningPklExperimentalas Kotlin opt-in🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.