Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (37 sloc) 1.88 KB

FXGL Sliding Puzzle

Getting started

To start the application execute:

./gradlew run

(A MSI installer for Windows is also available on the releases page.)

You can move the tiles using the arrow keys or the mouse. Have fun!

snapshot small

Creating application installers

The Gradle build script uses the badass-jlink plugin, which is able to create application installers. Under the hood, it calls the jpackage tool introduced in Java 14, so you need to install jpackage on your machine. On Windows you also need to install WIX, which is required to generate msi or exe packages.

You also need to specify the home of your jpackage distribution in the BADASS_JLINK_JPACKAGE_HOME environment variable. Alternatively, you can explicitly configure this location in build.gradle.

After that, you can execute:

./gradlew jpackage

The application installers will be available in the build/jpackage directory.

Example (Windows)

installer thumb

On Windows, it’s recommended to run the installed application as administrator.

You can’t perform that action at this time.