About this Plugin
This Gradle plugin turns Java applications into self-contained executables and installers for distribution. It uses the official tools coming with the JDK like jpackage, jlink, and jdeps.
- Streamlining the development of Java-based cross-platform apps
- Encouraging the adoption of Java modules (JPMS)
- Providing general solutions instead of edge case implementations by combining all the useful tools included in the JDK
Features
Section titled “Features”- Supports modular and non-modular applications.
- Searches for required modules in non-modular apps to take advantage of modularization as much as possible.
- Works with JavaFX out of the box.
- Modern implementation adhering to Gradle’s best practices.
- Compatible with Configuration Cache, and tasks are cacheable.
- Supports signing macOS applications (coming soon).
Requirements
Section titled “Requirements”- At least JDK 21 to run the plugin, of course any Java toolchain that comes with Jpackage can be used in the project.
- Gradle v8.8 or above.