$cat project/plugins.sbt
addSbtPlugin("no.vedaadata" %% "sbt-javafx" % "0.7")
$cat build.sbt
scalaVersion := "2.12.1"
lazy val root = (project in file(".")).
enablePlugins(no.vedaadata.sbtjavafx.JavaFXPlugin).
settings(
name := "test-javafx-app"
)
$sbt
[info] Loading project definition from /home/kmeredith/src/javafx_plugin/project
/home/kmeredith/src/javafx_plugin/build.sbt:4: error: type mismatch;
found : no.vedaadata.sbtjavafx.JavaFXPlugin.type
required: sbt.Plugins
enablePlugins(no.vedaadata.sbtjavafx.JavaFXPlugin).
^
sbt.compiler.EvalException: Type error in expression
[error] sbt.compiler.EvalException: Type error in expression
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
How can I add this plugin to the enablePlugins method?
How can I add this plugin to the
enablePlugins
method?