Add module info and fix build for Java 9 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Pratanu :)
I recently upgraded all my projects to the latest Java version including the introduction of modules in Java 9. To make a long story short: I had to create
module-info.java
files for all of my dependencies and thought to share that with you.Before you merge though: Merging this PR makes Unique4J incompatible with Java 6, 7 and 8 and requires Java 9 or higher. If you don't care about that feel free to merge. If you do care, I would suggest to create 2 jars: One that includes the module-info.java, making Java9 users happy and one that doesn't, making support for Java 8 and lower possible.
Feel free to contact me if you have any questions :)
Cheers,
Vatbub