Skip to content

Consider adding a full Java module descriptor #531

New issue

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

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

Already on GitHub? # to your account

Open
aalmiray opened this issue Apr 18, 2021 · 1 comment · May be fixed by #556 or #557
Open

Consider adding a full Java module descriptor #531

aalmiray opened this issue Apr 18, 2021 · 1 comment · May be fixed by #556 or #557

Comments

@aalmiray
Copy link

Full Java module descriptors (module-info.class) are a hard requirement for building custom Java Runtimes with Jlink.

It looks like the build must remain pre Java modules (Java 6? I suppose that's related to the lowest common denominator: Android), however given that the build is Gradle based there's the https://plugins.gradle.org/plugin/org.beryx.jar plugin that can be applied to keep the build in its current Java version while at the same time providing a full module descriptor. Caveat: the generated JAR will become a multi-release JAR.

If there's any interest I'll gladly provide a PR and help with maintenance.

@aalmiray
Copy link
Author

Hello, any updates on this? I'm happy to provide a PR that can fix this feature request.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant