-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
50 lines (37 loc) · 1.58 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name := "great-dane-engine"
version := "1.1"
scalaVersion := "2.11.8"
val configJvmOpt = Seq(
"-Dconfig.file=${PROG_HOME}/conf/engine.conf",
"-Dlogback.configurationFile=${PROG_HOME}/conf/logback.xml"
)
packAutoSettings ++ Seq(
// Ensure each command-line script loads the custom config file
packJvmOpts := Map(
"service" -> configJvmOpt,
"daemon" -> configJvmOpt,
"dane-search" -> configJvmOpt
)
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
"commons-io" % "commons-io" % "2.5" % "test",
"com.typesafe" % "config" % "1.3.1",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"com.typesafe.scala-logging" % "scala-logging_2.11" % "3.5.0",
"org.slf4j" % "jul-to-slf4j" % "1.7.21",
"org.bouncycastle" % "bcprov-jdk15on" % "1.56",
"org.bouncycastle" % "bcmail-jdk15on" % "1.56",
"com.owlike" % "genson-scala" % "1.2",
"org.eclipse.jetty" % "jetty-server" % "9.3.13.v20161014",
"org.eclipse.jetty" % "jetty-servlet" % "9.3.13.v20161014",
"org.glassfish.jersey.core" % "jersey-server" % "2.24",
"org.glassfish.jersey.containers" % "jersey-container-servlet" % "2.24",
"org.glassfish.jersey.containers" % "jersey-container-jetty-http" % "2.24",
"commons-daemon" % "commons-daemon" % "1.0.15"
)
// Work-around for https://github.com/bmc/sbt-izpack/issues/19
lazy val izArtifactPath = settingKey[String]("Obtain main artifact path")
izArtifactPath := (artifactPath in (Compile, packageBin)).value.getPath
// http://software.clapper.org/sbt-izpack/#settings
variables in IzPack <+= izArtifactPath { path => ("appJar", path) }