sqids-java icon indicating copy to clipboard operation
sqids-java copied to clipboard

Support for Java 9 Modules

Open yona-asael opened this issue 1 year ago • 4 comments

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.

yona-asael avatar Mar 04 '24 01:03 yona-asael

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?

0x3333 avatar Mar 04 '24 15:03 0x3333

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.

yona-asael avatar Mar 13 '24 02:03 yona-asael

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.

0x3333 avatar Mar 13 '24 13:03 0x3333