-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
38 lines (24 loc) · 1 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
/// packageSummary
import com.typesafe.sbt.packager.archetypes.ServerLoader.Upstart
name := """rdb-academy-sql"""
version := "0.1-alpha"
scalaVersion := "2.11.8"
lazy val commonModule = (project in file("modules/common")).enablePlugins(PlayJava, PlayEbean)
lazy val root = (project in file("."))
.enablePlugins(PlayJava, DebianPlugin)
.dependsOn(commonModule)
.aggregate(commonModule)
javacOptions := Seq("-Xlint:deprecation")
scalacOptions := Seq("-unchecked", "-deprecation")
libraryDependencies ++= Seq(
cache,
javaWs,
"org.mockito" % "mockito-core" % "2.7.17"
)
name in Debian := "rdb-academy-sql"
maintainer in Linux := "Fabio Mazzone<fabio.mazzone@me.com>"
packageSummary in Linux := "SQL.Academy"
// debianPackageDependencies in Debian ++= Seq("nginx", "mysql-server")
serverLoading in Debian := Upstart
daemonUser in Linux := normalizedName.value // user which will execute the application
daemonGroup in Linux := (daemonUser in Linux).value // group which will execute the application