Skip to content

xzel23/badass-runtime-plugin

 
 

Repository files navigation

PRs Welcome License Build Status

Badass Runtime Plugin

NOTE: This is a fork of the original Badass-Runtime-Plugin that is patched to support newer Java releases and other fixes not yet available with the original plugin.
Changes in this fork

1.13.1-patch-1

  • updated some dependencies, this includes the assembler so that the plugin works on newer JDK versions.
How to build

Make sure your environment is set to use JDK 11 and run ./gradlew build.

How to use

Change the plugin ID from org.beryx.runtime to com.dua3.gradle.runtime in your Gradle build files.

The following is the content of the original README.

NOTE: Looking for co-maintainers - see this issue.

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.

💡 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.

See the list of all releases if you use an older version of this plugin.

About

Create a custom runtime image of your non-modular application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 93.6%
  • Shell 5.6%
  • Other 0.8%