Class JPackagePlugin
java.lang.Object
io.github.danlewis783.jpackage.JPackagePlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public abstract class JPackagePlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
Packages a Java application with the JDK's
jpackage tool.
Applies the java plugin and adds:
jpackageImage— self-contained application image (launcher + bundled runtime)jpackageZip— the image packaged as a zip underbuild/distributionsjpackageInstall— the image copied to a local directory for developer self-usejpackageInstaller— native installers (e.g. MSI) built from the image
-
Field Details
-
EXTENSION_NAME
- See Also:
-
TASK_GROUP
- See Also:
-
IMAGE_TASK_NAME
- See Also:
-
ZIP_TASK_NAME
- See Also:
-
DEV_INSTALL_TASK_NAME
- See Also:
-
INSTALLER_TASK_NAME
- See Also:
-
-
Constructor Details
-
JPackagePlugin
public JPackagePlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-