What’s the best option for converting pre java9 dependencies to having module-info? – Info Java

I decided to rewrite some of my game's building logic to use new jlink, so I could ship it with the JRE included, but the problem is my dependencies don't really know anything about 9+, and jlink needs module-info being present, it seems. So my plan was to somehow include the jlinking to my previous ‘mvn package' process, so I would still get fully shippable program, without needing to do any manual steps, but immediately run into problems with even manually jlinking my app, because of the dependencies. How could I solve it? I really don't want to start dependencies manually, because they come from maven central as they are and I don't want to keep touching this when I add or remove dependencies.

Article Prepared by Ollala Corp

You might also like
Leave A Reply

Your email address will not be published.