forked from ReactiveMongo/ReactiveMongo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
41 lines (34 loc) · 1.16 KB
/
build.sbt
File metadata and controls
41 lines (34 loc) · 1.16 KB
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
lazy val `ReactiveMongo-Core` = project.in(file("core")).
settings(
sourceDirectories in Compile ++= Seq(
(sourceDirectory in Compile).value / "scala-2.11+"),
libraryDependencies ++= {
val deps = Dependencies.shaded.value
("org.reactivemongo" %% "reactivemongo-bson-api" % version.
value) +: deps
}
)
lazy val `ReactiveMongo` = new Driver(`ReactiveMongo-Core`).module
lazy val `ReactiveMongo-Test` = project.in(file("test")).settings(
description := "ReactiveMongo test helpers",
).dependsOn(`ReactiveMongo`)
// ---
def docSettings = Documentation(excludes = Seq.empty).settings
lazy val `ReactiveMongo-Root` = project.in(file(".")).
enablePlugins(ScalaUnidocPlugin).
settings(docSettings ++ Seq(
publishArtifact := false,
publishTo := None,
publishLocal := {},
publish := {}
)).aggregate(
`ReactiveMongo-Core`,
`ReactiveMongo`,
`ReactiveMongo-Test`)
lazy val benchmarks = (project in file("benchmarks")).
enablePlugins(JmhPlugin).
settings(Compiler.settings ++ Seq(
libraryDependencies += organization.value % "reactivemongo-shaded" % version.value
)
).
dependsOn(`ReactiveMongo`)