forked from lmenezes/cerebro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
41 lines (31 loc) · 1.38 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
name := "cerebro"
maintainer := "Leonardo Menezes <leonardo.menezes@xing.com>"
version := "0.8.1"
scalaVersion := "2.11.11"
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play" % "2.6.15",
"com.typesafe.play" %% "play-json" % "2.6.9",
"com.typesafe.play" %% "play-slick" % "3.0.3",
"com.typesafe.play" %% "play-slick-evolutions" % "3.0.3",
"org.xerial" % "sqlite-jdbc" % "3.23.1",
"org.specs2" %% "specs2-junit" % "3.9.2" % "test",
"org.specs2" %% "specs2-core" % "3.9.2" % "test",
"org.specs2" %% "specs2-mock" % "3.9.2" % "test"
)
libraryDependencies += filters
libraryDependencies += ws
libraryDependencies += guice
lazy val root = (project in file(".")).
enablePlugins(PlayScala, BuildInfoPlugin, LauncherJarPlugin).
settings(
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "models"
)
doc in Compile <<= target.map(_ / "none")
enablePlugins(JavaServerAppPackaging)
enablePlugins(SystemdPlugin)
pipelineStages := Seq(digest, gzip)
serverLoading := Some(ServerLoader.Systemd)
systemdSuccessExitStatus in Debian += "143"
systemdSuccessExitStatus in Rpm += "143"
linuxPackageMappings += packageTemplateMapping(s"/var/lib/${packageName.value}")() withUser((daemonUser in Linux).value) withGroup((daemonGroup in Linux).value)