-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
38 lines (34 loc) · 988 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
lazy val commonSettings = Seq(
scalaVersion := "2.11.8",
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked",
"-Xlint",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-Ywarn-value-discard"
)
)
lazy val redica = (project in file("."))
.aggregate(client, benchmark, example)
lazy val client = (project in file("redica-client"))
.settings(commonSettings: _*)
.settings(
name := "redica",
version := "0.1-SNAPSHOT",
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.2" % "test",
"org.mockito" % "mockito-all" % "1.10.19" % "test"
)
)
lazy val benchmark = (project in file("redica-benchmark"))
.settings(commonSettings: _*)
.dependsOn(client)
.enablePlugins(JmhPlugin)
lazy val example = (project in file("redica-example"))
.settings(commonSettings: _*)
.dependsOn(client)