-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt-jdk8
30 lines (21 loc) · 966 Bytes
/
build.sbt-jdk8
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
26
27
28
29
30
name := "tlcockpit"
version := "1.2"
scalaVersion := "2.12.11"
val javaVersion:Int = 8
libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.192-R14"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.3"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.7.2"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3"
libraryDependencies += "org.json4s" %% "json4s-native" % "3.6.0-M3"
libraryDependencies += "org.json4s" %% "json4s-jackson" % "3.6.0-M3"
lazy val root = (project in file(".")).
enablePlugins(BuildInfoPlugin).
settings(
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion, BuildInfoKey(("javaVersion", javaVersion))),
buildInfoPackage := "TLCockpit"
)
mainClass in assembly := Some("TLCockpit.ApplicationMain")
assemblyJarName in assembly := "tlcockpit-jdk8.jar"
assemblyOutputPath in assembly := file("jar/tlcockpit-jdk8.jar")
// for scalafx
fork := true