[PR #920] [CLOSED] JSR305 integration for kotlinc #805

Closed
opened 2025-12-30 01:26:54 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/920
Author: @sgammon
Created: 1/31/2025
Status: Closed

Base: mainHead: feat/kotlinc-opts


📝 Commits (1)

  • 16b2ed2 feat: jsr305 compat for kotlinc

📊 Changes

1 file changed (+25 additions, -1 deletions)

View changed files

📝 buildSrc/src/main/kotlin/pklKotlinLibrary.gradle.kts (+25 -1)

📄 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.


🔄 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>
adam added the pull-request label 2025-12-30 01:26:54 +01:00
adam closed this issue 2025-12-30 01:26:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#805