-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·52 lines (45 loc) · 1.32 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
51
52
import sbt.Keys._
organization in ThisBuild := "io.scalac"
scalaVersion in ThisBuild := "2.11.8"
lazy val jacksonSettings = Seq(
scalacOptions in compile += "-parameters",
libraryDependencies += "com.fasterxml.jackson.module" % "jackson-module-scala_2.11" % "2.7.3"
)
lazy val calculatorApi =
(project in file("calculatorApi"))
.settings(
version := "1.0-SNAPSHOT",
libraryDependencies += lagomJavadslJackson
)
.dependsOn(utils)
lazy val calculator =
(project in file("calculator"))
.settings(
version := "1.0-SNAPSHOT"
)
.enablePlugins(LagomJava)
.dependsOn(calculatorApi, exchangeRatesApi, utils)
.settings(jacksonSettings: _*)
lazy val exchangeRatesApi =
(project in file("exchangeRatesApi"))
.settings(
version := "1.0-SNAPSHOT",
libraryDependencies += lagomJavadslApi,
libraryDependencies += lagomJavadslJackson
)
.dependsOn(utils)
lazy val exchangeRates =
(project in file("exchangeRates"))
.enablePlugins(LagomJava)
.dependsOn(exchangeRatesApi, utils)
.settings(
version := "1.0-SNAPSHOT",
libraryDependencies += lagomJavadslPersistence
)
.settings(jacksonSettings: _*)
lazy val utils =
(project in file("utils"))
.settings(
version := "1.0-SNAPSHOT",
libraryDependencies += lagomJavadslApi
)