Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using generated Kotlin from JPMS #187

Open
sgammon opened this issue Feb 18, 2024 · 0 comments
Open

Using generated Kotlin from JPMS #187

sgammon opened this issue Feb 18, 2024 · 0 comments

Comments

@sgammon
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant