File Association

build.sbt

import com.quadstingray.sbt.javafx.model.FileAssociation

name := "file-association-javafx-simple"

organization := "com.quadstingray"

version := "0.1"

scalaVersion := "2.12.8"

enablePlugins(JavaFxPlugin)

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

javaFxFileAssociations += FileAssociation("avi", "video/x-msvideo", "AVI Files")
javaFxFileAssociations += FileAssociation("mov", "video/quicktime", "Mov Files")

/project/plugin.sbt

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

For debug activate

javaFxVerbose := true