-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (43 loc) · 1.34 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
46
47
48
49
50
organization in ThisBuild := "com.example"
version in ThisBuild := "1.0-SNAPSHOT"
// the Scala version that will be used for cross-compiled libraries
scalaVersion in ThisBuild := "2.12.4"
val macwire = "com.softwaremill.macwire" %% "macros" % "2.3.0" % "provided"
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.4" % Test
lazy val `scalage` = (project in file("."))
.aggregate(`scalage-api`, `scalage-impl`, `scalage-stream-api`, `scalage-stream-impl`)
lazy val `scalage-api` = (project in file("scalage-api"))
.settings(
libraryDependencies ++= Seq(
lagomScaladslApi
)
)
lazy val `scalage-impl` = (project in file("scalage-impl"))
.enablePlugins(LagomScala)
.settings(
libraryDependencies ++= Seq(
lagomScaladslPersistenceCassandra,
lagomScaladslKafkaBroker,
lagomScaladslTestKit,
macwire,
scalaTest
)
)
.settings(lagomForkedTestSettings: _*)
.dependsOn(`scalage-api`)
lazy val `scalage-stream-api` = (project in file("scalage-stream-api"))
.settings(
libraryDependencies ++= Seq(
lagomScaladslApi
)
)
lazy val `scalage-stream-impl` = (project in file("scalage-stream-impl"))
.enablePlugins(LagomScala)
.settings(
libraryDependencies ++= Seq(
lagomScaladslTestKit,
macwire,
scalaTest
)
)
.dependsOn(`scalage-stream-api`, `scalage-api`)