-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
46 lines (37 loc) · 1.14 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
42
43
44
45
organization in ThisBuild := "com.co"
version in ThisBuild := "0.0.1"
// the Scala version that will be used for cross-compiled libraries
scalaVersion in ThisBuild := "2.11.8"
lagomCassandraEnabled in ThisBuild := false
lagomKafkaEnabled in ThisBuild := false
lazy val `co-api` = (project in file("."))
.aggregate(
apidoc,
`customer-api`,
`customer-impl`
)
lazy val apidoc = (project in file("apidoc"))
.enablePlugins(PlayScala, LagomPlay, SbtReactiveAppPlugin)
.settings(
enableServiceDiscovery := true,
libraryDependencies ++= Seq(
guice, // This is required to configure Play's application loader
ws
),
httpIngressPaths := Seq("/")
)
lazy val `customer-api` = (project in file("customer-api"))
.settings(
libraryDependencies += lagomScaladslApi
)
lazy val `customer-impl` = (project in file("customer-impl"))
.enablePlugins(LagomScala, SbtReactiveAppPlugin)
.settings(
libraryDependencies ++= Seq(
guice, // This is required to configure Play's application loader
jdbc,
evolutions,
"org.playframework.anorm" %% "anorm" % "2.6.1"
)
)
.dependsOn(`customer-api`)