-
Notifications
You must be signed in to change notification settings - Fork 255
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
Modularize (java 9/11) lanterna #407
Comments
That sounds like a great idea. It should be possible to compile everything except |
I'd be happy to, but I have no experience in Java 9+ so I'm not sure how to do this. |
By the way, I'm also considering moving master branch to Java 8 finally. Not that it helps much with modules though. |
The minimal version doesn't matter for modularizing. As far as I know, you have to execute the |
I'm no expert myself. I'm currently struggling to migrate my app to Java11. It is proving to be challenging. The app itself is easy, but making the dependencies work and be able to test things and making them run on IntelliJ is very difficult. I'm running constantly into resource visibility issues. I'm reading the following book: Java 9 Modularity |
I'm of the understanding that lanterna has two options to accommodate requests for modular jars :
I can submit a pull request for either, but the decision lies more with the individual creating releases, given that this may change hiso'er workflow. There's another aspect, albiet relevant to #422 : this project can create two jars, but there are classes for the same package in each, |
There is also a third option:
|
That sounds promising, do you have any reference material on how to set this up? |
Within a few weeks probably, I need to get the Java 8 migration working and also update all the themes to support the new menu functionality |
lanterna-3.1.0-alpha1 has been released and pushed to Sonatype |
Hi there!
Thanks for the excellent work you've been doing so far with the library. I'm using it to create a 4X framework (xDD), and it is helping me a lot :)
I'm trying to migrate to Java 11 from Java 8, and one of the benefits of doing that is to be able to create compact java images with jlink. But all of your dependencies must be modularized too in order to do that, no automodularized packages can be included in that image. Which means that unless all libraries I use are modularized, I'm "stuck" with deploying my java app the usual way.
So, my request would be to make lanterna a java module, with the module-info.java class and all of those things required to do that. I've been looking at the dependencies of lanterna itself, and it almost depends on nothing, which I think would make for a painless conversion to the module system.
Would that work for you?
Best regards,
Loïc Prieto.
The text was updated successfully, but these errors were encountered: