-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (37 loc) · 935 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
34
35
36
37
38
39
40
41
42
43
44
45
lazy val commonSettings = Seq(
organization := "io.opentracing",
version := "0.0.1-SNAPSHOT",
scalaVersion := "2.12.1",
libraryDependencies ++= commonDeps
)
lazy val root = (project in file("."))
.aggregate(api, impl, mock, noop)
.settings(
commonSettings,
name := "OpenTracing Scala"
)
lazy val api = (project in file("api"))
.settings(
commonSettings
)
lazy val impl = (project in file("impl"))
.settings(
commonSettings
)
.dependsOn(api, noop)
lazy val mock = (project in file("mock"))
.settings(
commonSettings
)
.dependsOn(api)
lazy val noop = (project in file("noop"))
.settings(
commonSettings
)
.dependsOn(api)
lazy val commonDeps = Seq(
"org.scalactic" %% "scalactic" % "3.0.1",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.scalamock" %% "scalamock-scalatest-support" % "3.5.0" % Test,
"org.mockito" % "mockito-core" % "2.7.21" % "test"
)