Skip to content
Create a custom runtime image of your non-modular application
Groovy Shell Other
Branch: master
Clone or download
Latest commit 129e020 Nov 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc fix: Remove jpackage identifier argument [#37] Oct 3, 2019
ghpages
gradle/wrapper use Gradle 6.0 Nov 10, 2019
src rename jpackage option --package-type to --type Nov 13, 2019
.gitattributes initial commit Nov 29, 2018
.gitignore initial commit Nov 29, 2018
.travis.yml update .travis.yml Jun 30, 2019
LICENSE initial commit Nov 29, 2018
README.md update README Jun 30, 2019
build.gradle use ASM 7.2 Nov 10, 2019
gradle.properties bump version to 1.7.4 Nov 13, 2019
gradlew Move identifier option to correct task Sep 4, 2019
gradlew.bat initial commit Nov 29, 2018
license-header.txt initial commit Nov 29, 2018
settings.gradle configure build-scan Oct 20, 2019
travis-build.sh initial commit Nov 29, 2018

README.md

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, uch 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.

You can’t perform that action at this time.