Features
Jpackage is the tool that creates native installers for Java-based applications. This Gradle plugin adds Jpackage & friends to the build process. It seamlessly integrates with the Java plugin and with the application plugin if it is applied.
- 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.
- Uses Jdeps to support the modularization process by analyzing the code for needed modules
- Helps with patching modules in the compilation process. This enables developers to create modules with other JVM-compatible languages like Kotlin.
- Works with JavaFX out of the box.
- Supports signing macOS applications.
- Modern implementation adhering to Gradle’s best practices.
- Compatible with Configuration Cache, and tasks are cacheable.
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.