diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/tlcockpit/build.sbt-jdk8 |
Initial commit
Diffstat (limited to 'support/tlcockpit/build.sbt-jdk8')
-rw-r--r-- | support/tlcockpit/build.sbt-jdk8 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/support/tlcockpit/build.sbt-jdk8 b/support/tlcockpit/build.sbt-jdk8 new file mode 100644 index 0000000000..ac19d09077 --- /dev/null +++ b/support/tlcockpit/build.sbt-jdk8 @@ -0,0 +1,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 |