Skip to content
build.sbt 1.38 KiB
Newer Older
Leonardo Menezes's avatar
Leonardo Menezes committed
name := "cerebro"

maintainer := "Leonardo Menezes <leonardo.menezes@xing.com>"

Leonardo Menezes's avatar
Leonardo Menezes committed
version := "0.7.2"
Leonardo Menezes's avatar
Leonardo Menezes committed

scalaVersion := "2.11.11"
Leonardo Menezes's avatar
Leonardo Menezes committed

libraryDependencies ++= Seq(
Leonardo Menezes's avatar
Leonardo Menezes committed
  "com.typesafe.play" %% "play"                    % "2.6.7",
  "com.typesafe.play" %% "play-json"               % "2.6.7",
  "com.typesafe.play" %% "play-slick"              % "3.0.1",
  "com.typesafe.play" %% "play-slick-evolutions"   % "3.0.1",
  "org.xerial"        %  "sqlite-jdbc"             % "3.20.0",
  "org.specs2"        %% "specs2-junit"  % "3.8.4" % "test",
  "org.specs2"        %% "specs2-core"   % "3.8.4" % "test",
  "org.specs2"        %% "specs2-mock"   % "3.8.4" % "test"
Leonardo Menezes's avatar
Leonardo Menezes committed
)

libraryDependencies += filters
Leonardo Menezes's avatar
Leonardo Menezes committed
libraryDependencies += ws
libraryDependencies += guice
lazy val root = (project in file(".")).
Anton Koval's avatar
Anton Koval committed
  enablePlugins(PlayScala, BuildInfoPlugin, LauncherJarPlugin).
  settings(
    buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
    buildInfoPackage := "models"
  )
Leonardo Menezes's avatar
Leonardo Menezes committed

Leonardo Menezes's avatar
Leonardo Menezes committed
doc in Compile <<= target.map(_ / "none")

enablePlugins(JavaServerAppPackaging)
enablePlugins(SystemdPlugin)

Leonardo Menezes's avatar
Leonardo Menezes committed
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)