Licence Example

build.sbt

There are two ways to define the MainClass for your JavaFx Application:

SBT
name := "sbt-licences-simple"

organization := "com.quadstingray"

version := "0.1"

scalaVersion := "2.12.8"

enablePlugins(JavaFxPlugin)

javaFxMainClass := "com.quadstingray.javafx.sample.HelloApp"

licenses += ("Apache-2.0", url("https://github.com/QuadStingray/sbt-javafx/blob/master/LICENSE"))
JavaFX
name := "javafx-licences-simple"

organization := "com.quadstingray"

version := "0.1"

scalaVersion := "2.12.8"

enablePlugins(JavaFxPlugin)

javaFxMainClass := "com.quadstingray.javafx.sample.HelloApp"

javaFxLicense := "Apache-2.0"

/project/plugin.sbt

addSbtPlugin("com.quadstingray" % "sbt-javafx" % "1.5.2")

For debug activate

javaFxVerbose := true