blob: ac19d090776c41041c09ab1b62cb0719c2089c41 (
plain)
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.1"
scalaVersion := "2.12.7"
val javaVersion:Int = 8
libraryDependencies += "org.scalafx" %% "scalafx" % "8.0.181-R13"
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
|