mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #920] [CLOSED] JSR305 integration for kotlinc
#805
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/920
Author: @sgammon
Created: 1/31/2025
Status: ❌ Closed
Base:
main← Head:feat/kotlinc-opts📝 Commits (1)
16b2ed2feat:jsr305compat forkotlinc📊 Changes
1 file changed (+25 additions, -1 deletions)
View changed files
📝
buildSrc/src/main/kotlin/pklKotlinLibrary.gradle.kts(+25 -1)📄 Description
Summary
Applies
-Xjsr305=strictsupport for Pkl's own annotations,org.pkl.core.util.Nullableandorg.pkl.core.util.Nonnull. Java parameter names are retained in Kotlin bytecode, enabling smoother Java/Kotlin interop and debugging. Fixes deprecated/outdated use of Kotlin Gradle Plugin.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.