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

Support for Java 9 Modules #17

Open
yona-asael opened this issue Mar 4, 2024 · 3 comments
Open

Support for Java 9 Modules #17

yona-asael opened this issue Mar 4, 2024 · 3 comments

Comments

@yona-asael
Copy link

Hi,

Developing a library for my personal proyects, I'm trying to have the best documentation possible and using the most features possible, in sometime during the implementation of the modules an error occurs, here is the error in Gradle.

imagen

During an exhausting reasearch, the error is caused by module-info.java not exists in the proyect, checking how implement this via command line and tried some gradle plugins getting the same result, it could be possible someone can add this feature or can possible to contribute to this project to add the support for Modules.

@0x3333
Copy link
Collaborator

0x3333 commented Mar 4, 2024

The problem is that we support 1.8 onwards. We need a Multi-release jar. I'm not well versed in that. Would you be able to write a PR for that?

@yona-asael
Copy link
Author

Review the part of Multi-Release jar, researching a little bit about this the best way to do it without a hell of configurations is explained here in this article they mention a plugin but in this case need to be configured manually because the plugin not have the supports for module-info.java

Let me organize my stuff and time to be able for implement this solution.

@0x3333
Copy link
Collaborator

0x3333 commented Mar 13, 2024

I tried using this plugin(https://melix.github.io/mrjar-gradle-plugin/0.1/index.html) but encountered some issues. Unfortunately, I don't have time to research this.

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

2 participants