Skip to content
项目

beryx/badass-jlink-plugin

在 GitHub 查看

beryx/badass-jlink-plugin has 425 GitHub stars and 30 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 17:24 UTC. Last push 2026-11-11.

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Create a custom runtime image of your modular application

开发工具

README.md

原文

PRs Welcome License Build Status

Badass JLink Plugin

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

Using this Gradle plugin you can create a custom runtime image of your modular application with minimal effort, even if it depends on automatic modules. The plugin also lets you create an application installer with the jpackage tool introduced in Java 14 (see fxgl-sliding-puzzle for a usage example).

:bulb: For non-modular applications use the Badass-Runtime plugin.

Badass-JLink exposes an extension with the name jlink to let you configure various aspects of its operation. A simple example configuration is shown below:

jlink {
    options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
    includeLocales = ['en', 'de-DE']
    includeLocalesFile = file('src/packaging/locales.txt')
    launcher{
        name = 'hello'
        jvmArgs = ['-Dlog4j.configurationFile=./log4j2.xml']
    }
}

includeLocales and includeLocalesFile configure locale filtering for jlink. Tags must be valid BCP 47 locale tags and are normalized/deduplicated by the plugin.

This is a complex plugin. Please read the documentation before using it.

The following projects illustrate how to use this plugin to create custom runtime images:

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

探索相关项目

加载中…