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.
For a multi-project solution see hello-db-multi-project.
This solution creates a task named jlinkAll
, which uses a GradleRunner to execute the jlink
task twice, with different properties.
Creating the custom runtime images:
./gradlew jlinkAll
The images will be created in the directories build/image-h2
and build\image-hsqldb
.