This is an example of a basic Maven / Gradle configuration for creating FXGL games on Java 17+ using Java and/or Kotlin.
For actual game examples, please see FXGLGames.
You may wish to update the FXGL version to latest.
mvn javafx:run
./gradlew run