-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
45 lines (40 loc) · 1.48 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
lazy val root = (project in file("."))
.settings(publishArtifact := false)
.settings(CommonSettings.settings: _*)
.settings(
name := "flowly",
)
.aggregate(`flowly-core`, `flowly-mongodb`, `flowly-demo`)
val jacksonVersion = "2.9.9"
lazy val `flowly-core` = project
.settings(CommonSettings.settings: _*)
.settings(
name := "flowly-core",
libraryDependencies ++= Seq(
"org.specs2" %% "specs2-core" % "4.6.0" % "test",
"org.specs2" %% "specs2-mock" % "4.6.0" % "test",
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion % "test",
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % jacksonVersion % "test",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonVersion % "test"
)
)
lazy val `flowly-mongodb` = project
.settings(CommonSettings.settings: _*)
.settings(
name := "flowly-mongodb",
libraryDependencies ++= Seq(
"org.mongojack" % "mongojack" % "2.10.0",
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % jacksonVersion,
"com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonVersion
)
)
.dependsOn(`flowly-core`)
lazy val `flowly-demo` = project
.settings(CommonSettings.settings: _*)
.settings(
name := "flowly-demo",
packagedArtifacts := Map.empty
)
.dependsOn(`flowly-core`, `flowly-mongodb`)
scalacOptions in Test ++= Seq("-Yrangepos")