You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a module-info.java is the easiest way forward, but you'll probably lose JDK 8 compatibility.
If you'd like to keep JDK 8 compatibility, a multi-release jar might be a solution.
I do not have experience with the Moditect Maven plugin, but at first sight it seems especially handy to add module-info files to jar files you do not control.
Although, you can use this plugin in your codebase as well, but I think it is easier to add the module-info file directly.
Another consideration you have to make: Which packages do you want to export and which ones need to stay internal? This might imply that you need to move some functionality.
At the moment, there are few packages that I want to be internal. I thought I'd have module-info for the future, but as you say, Automatic Module Name should be sufficient for now.
Leave this issue open.
https://github.com/moditect/moditect
The text was updated successfully, but these errors were encountered: