Beginner at scala here, been trying to import scalafx into my scala file but I just can't seem to do so.
import scalafx.application.JFXApp
object Main extends JFXApp{
}
And the sbt file that I have is
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.8"
lazy val root = (project in file("."))
.settings(
name := "SnakeFX"
)
libraryDependencies += "org.scalafx" %% "scalafx" % "16.0.0-R24"
Any fix for this?
