Applies -Xjsr305=strict support for Pkl's own annotations, org.pkl.core.util.Nullable and org.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.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/920
**Author:** [@sgammon](https://github.com/sgammon)
**Created:** 1/31/2025
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `feat/kotlinc-opts`
---
### 📝 Commits (1)
- [`16b2ed2`](https://github.com/apple/pkl/commit/16b2ed2082a0224ae6a7c483c11e68cf6387f355) feat: `jsr305` compat for `kotlinc`
### 📊 Changes
**1 file changed** (+25 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `buildSrc/src/main/kotlin/pklKotlinLibrary.gradle.kts` (+25 -1)
</details>
### 📄 Description
## Summary
Applies `-Xjsr305=strict` support for Pkl's own annotations, `org.pkl.core.util.Nullable` and `org.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.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.