Check out what’s new in this release of the mrJar plugin
☆ Easily exclude individual artifacts from the module path
☆ Easily specify packages to export & open
☆ Improved Eclipse/Buildship/vscode Moduleability
☆ JavaFX friendly
☆ Supports src/javaN/java
and src/main/javaN
source set structures 1
☆ Improved test framework support (JUnit4, JUnit5, Spock, TestNG)
☆ Gradle 6+ support
☆ JDK 13 support — Compile, Test & Run with Java SE 13
☆ Bug fixes
These other posts have more details and usage examples:
- Compile and test with java 11 and jupiter
- Eclipse Buildship: Getting JUnit 5 running in Eclipse
- How in Eclipse project module java-9 have modulepath and classpath together?
- The mrJar Plugin v0.0.15 has been released — JPMS Modules Made Easy
- The mrJar Plugin v0.0.13 has been released — JPMS Modules Made Easy
Try it out and let me know if it works for you? TIA
1 — Actually, this feature has been available since v0.0.1. Introduced now for the first time. It’s a little-known built-in Gradle thing I leverage.