Skip to content
A JavaFX multi-project build that shows how to use the Badass JLink Plugin
Java
Branch: master
Clone or download
Latest commit 2a8374d Apr 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper initial commit Apr 1, 2019
greeter-api activate Groovy DSL Apr 11, 2019
greeter-impl activate Groovy DSL Apr 11, 2019
gui activate Groovy DSL Apr 11, 2019
.gitattributes initial commit Apr 1, 2019
.gitignore initial commit Apr 1, 2019
.travis.yml configure imageZip directory Apr 11, 2019
LICENSE initial commit Apr 1, 2019
README.md initial commit Apr 1, 2019
build.gradle activate Groovy DSL Apr 11, 2019
build.gradle.kts.___ activate Groovy DSL Apr 11, 2019
gradlew initial commit Apr 1, 2019
gradlew.bat initial commit Apr 1, 2019
settings.gradle activate Groovy DSL Apr 11, 2019
settings.gradle.kts.___ activate Groovy DSL Apr 11, 2019

README.md

PRs Welcome License Build Status

Badass JLink Plugin Example: JavaFX multi-project

A JavaFX "Hello world" application that shows how to use the Badass JLink Plugin.

It is structured as a Gradle multi-project containing the following subprojects:

  • greeter-api - the greeting service API
  • greeter-impl - an implementation of the greeting service API
  • gui - a JavaFX application that uses the greeting service

Usage

Running with gradle:

./gradlew run

A window containing the text Hello, OpenJFX! should appear on the screen.

Creating and executing a custom runtime image:

./gradlew jlink
cd gui/build/image/bin
./helloFX

A window containing the text Hello, OpenJFX! should appear on the screen.

You can’t perform that action at this time.