-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
25 lines (18 loc) · 864 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name := "Kanban Board"
version := "0.1"
scalaVersion := "2.13.5"
scalacOptions += "-Ymacro-annotations"
fork := true
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.0"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.2.0"
libraryDependencies += "org.scalafx" %% "scalafx" % "15.0.1-R21"
libraryDependencies += "org.scalafx" %% "scalafxml-core-sfx8" % "0.5"
lazy val osName = System.getProperty("os.name") match {
case n if n.startsWith("Linux") => "linux"
case n if n.startsWith("Mac") => "mac"
case n if n.startsWith("Windows") => "win"
case _ => throw new Exception("Unknown platform!")
}
lazy val javaFXModules =
Seq("base", "controls", "fxml", "graphics", "media", "swing", "web")
libraryDependencies ++= javaFXModules.map(m => "org.openjfx" % s"javafx-$m" % "15.0.1" classifier osName)