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