typetools
typetools copied to clipboard
Java module-info.java
I'm happy to do the work but after some discussion at apache commons, I would propose a major version bump for adding module-info into typetools.
- Any downstream projects using class scanners potentially won't understand module-info so will break projects.
- I propose using Multi Release Jar, so; 2.1) Make min java version requirement 1.8 2.2) Update build to have src/main/java11/module-info.java (only that single java11 file) 2.3) Compile module-info.java into META-INF/versions/11/module-info
- I don't propose supporting any other versions apart from 1.8 and 11, which are both LTS, afterwards others could be added if useful.
- I'm happy to do the alterations and submit a PR for v1.x.x
Thoughts?
Why do you think a multi-release jar would be necessary, and similar for the 1.8 requirement?