kavedaa / sbt-javafx

JavaFX plugin for SBT
36 stars 6 forks source link

sbt-javafx

sbt-javafx is a plugin for SBT (Simple Build Tool) for packaging JavaFX applications.

Quick start

Add an .sbt file (e.g. plugins.sbt) to the project's project directory, with the following content:

addSbtPlugin("no.vedaadata" %% "sbt-javafx" % "0.7")

A minimal .sbt build file (e.g. build.sbt) could then look like this:

name := "my-javafx-application"

jfxSettings

JFX.mainClass := Some("mypackage.MyJavaFXApplication")

To package the application, simply run the package-javafx task.

More details: