See issue #179
A small JavaFX application that shows how to use the Badass JLink Plugin to create two jlink images of the same application, but each with a different runtime classpath.
This is a multi-project solution, which creates separate subprojects for each desired image.
The application code is in app-main
, while app-h2
and app-hsqldb
are only tiny wrappers around it.
NOTE: For a single-project solution see hello-db-single-project.
Creating the custom runtime images:
./gradlew jlink
The images will be created in the directories app-h2/build/image
and app-hsqldb/build/image
.