SBT (Simple Build Tool) plugin for building JavaFx Application. The plugin is inspired by Kavedaa Sbt Javafx
https://quadstingray.github.io/sbt-javafx/
This plugin, specifically the Java 12 and 13 support, is currently only tested on Mac. Further tests under Windows and Linux are to follow. If you have a problem with Java 12/13, please open an issue on Github.
Java 13 Test not running! Looks like SBT on Java 13 Problem
Linux Java Version > 9 Issue see Linux Infos
Add an plugins.sbt
to the project's project
directory, with the following content:
addSbtPlugin("com.quadstingray" % "sbt-javafx" % "X.Y.Z")
add to build.sbt
file (e.g. build.sbt
) :
enablePlugins(JavaFxPlugin)
javaFxMainClass := "com.example.MainClass"
To package the application, simply run the sbt javaFxPackage
.
Java 11 Support Java 12 Support
If you find this plugin helpfull, so you can see here how you can help:
- Send a pull request with your features and bug fixes
- Help users resolve their issues.
sbt-javafx is deployed on bintray (jcenter).
https://quadstingray.github.io/sbt-javafx/versions/index.html
Thanks to JetBrains for a IntelliJ IDEA license to use on this project.