forked from lmenezes/cerebro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
37 lines (28 loc) · 1.3 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
name := "cerebro"
maintainer := "Leonardo Menezes <[email protected]>"
version := "0.6.5"
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play" % "2.5.10",
"com.typesafe.play" %% "play-ws" % "2.5.10",
"com.typesafe.play" %% "play-slick" % "2.0.2",
"com.typesafe.play" %% "play-slick-evolutions" % "2.0.2",
"org.xerial" % "sqlite-jdbc" % "3.16.1",
"org.specs2" %% "specs2-junit" % "3.8.4" % "test",
"org.specs2" %% "specs2-core" % "3.8.4" % "test",
"org.specs2" %% "specs2-mock" % "3.8.4" % "test"
)
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)