Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.35 KB

README.md

File metadata and controls

32 lines (23 loc) · 2.35 KB

PRs Welcome License Build Status

Badass Runtime Plugin

Using this Gradle plugin you can create custom runtime images for non-modularized applications. The plugin also lets you create an application installer with the jpackage tool introduced in Java 14.

💡 For modularized applications use the Badass-JLink plugin.

The plugin offers several tasks, such as: runtime, runtimeZip, suggestModules, or jpackage. It also adds an extension with the name runtime to let you configure various aspects of its operation. A simple example configuration is shown below:

runtime {
    options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
    modules = ['java.naming', 'java.xml']
}

The following projects illustrate how to use this plugin to create custom runtime images and/or platform-specific installers:

Please read the documentation before using this plugin.