mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Using generated Kotlin from JPMS #77
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?
Originally created by @sgammon on GitHub (Feb 18, 2024).
I've run into an issue with generated Pkl code in Kotlin. There does not appear to be an option in the Gradle plugin to set a package path; as a result, generated Kotlin ends up in the root package, which can't be exported from a Java module.
This could be fixed by adding an input argument to the code generator which sets a package path, to be included as
package ...at the top of the generated code files.