Skip to content

Using the Badass JLink Plugin with Kotlin and JavaFX

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license-header.txt
Notifications You must be signed in to change notification settings

beryx-gist/badass-jlink-example-kotlin-javafx

Repository files navigation

PRs Welcome License Build Status

Example of using the badass-jlink plugin with Kotlin and JavaFX

This project demonstrates the capabilities of the Badass JLink Plugin by creating a custom runtime image of a JavaFX application written in Kotlin.

Quick start

From the releases page download the archived custom runtime image for your operating system. Unpack the archive and execute the hello script found in the image/bin directory.

Creating a custom runtime image

Gradle must use Java 11 in order to be able to build the project. To create the custom runtime image execute:

./gradlew jlinkZip

This command creates the runtime image in the build/image directory and a zip file of it in build/image-zip.

The start scripts are found in the build/image/bin directory.