Drop-in-Resources

Add files to Directory for drop in

Default
name := "DropInResources"

organization := "com.quadstingray"

version := "0.1"

scalaVersion := "2.12.8"

enablePlugins(JavaFxPlugin)

mainClass := Option("com.quadstingray.javafx.sample.HelloApp")
Changed Directory
name := "DropInResourcesChanged"

organization := "com.quadstingray"

version := "0.1"

scalaVersion := "2.12.8"

enablePlugins(JavaFxPlugin)

mainClass := Option("com.quadstingray.javafx.sample.HelloApp")

javaFxPkgResourcesPath := (baseDirectory.value / "src/change").getAbsolutePath
Change SBT Key

In Version 1.3.0 the SBT Key is renamed from javaFxPkgResourcesDir to javaFxPkgResourcesPath.

Directory Structure

Default
├── build.sbt
├── project
│   ├── build.properties
│   └── plugins.sbt
├── src
│   ├── deploy
│   │   └── package
│   │       ├── macosx
│   │       │   └── DropInResources.icns
│   │       └── windows
│   │           └── DropInResources.ico
│   └── main
│       └── scala
│           └── com.quadstingray.javafx.sample
│               └── hello.scala
└── test
Changed Directory
├── build.sbt
├── project
│   ├── build.properties
│   └── plugins.sbt
├── src
│   ├── change
│   │   └── package
│   │       ├── macosx
│   │       │   └── DropInResourcesChanged.icns
│   │       └── windows
│   │           └── DropInResourcesChanged.ico
│   └── main
│       └── scala
│           └── com.quadstingray.javafx.sample
│               └── hello.scala
└── test

/project/plugin.sbt

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

For debug activate

javaFxVerbose := true