-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (30 loc) · 921 Bytes
/
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
val baseSettings = Seq(
organization := "com.golemiso",
version := "0.1.0",
scalaVersion := "2.12.4",
javaOptions in Test += "-Dconfig.file=test/resources/test.conf"
)
lazy val `domain` = (project in file("domain"))
.settings(baseSettings)
.settings(
name := "ama-domain"
)
lazy val `play` = (project in file("play")).enablePlugins(PlayScala)
.settings(baseSettings)
.settings(
name := "ama-play",
libraryDependencies ++= Seq(
guice,
"com.softwaremill.macwire" %% "macros" % "2.3.0" % "provided",
"org.reactivemongo" %% "reactivemongo" % "0.13.0",
"org.reactivemongo" %% "reactivemongo-akkastream" % "0.13.0",
"org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
)
)
.dependsOn(`domain`)
lazy val root = (project in file(".")).enablePlugins(DockerPlugin)
.settings(baseSettings)
.settings(
name := "ama"
)
.aggregate(`play`)