-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuild.sbt
42 lines (39 loc) · 1.18 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
inThisBuild(List(
organization := "org.virtuslab",
homepage := Some(url("https://github.com/VirtusLab/unicorn")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"jsroka",
"jsroka",
url("https://virtuslab.com/")
)
)
))
val `unicorn-core` = project
.settings(Settings.core: _*)
.settings(
libraryDependencies ++= Dependencies.core,
// cannot be higher due to tests not able to reproduce abnormal DB behavior
coverageMinimum := 100,
(scalastyleConfig in Test) := file("scalastyle-test-config.xml")
)
val `unicorn-play` = project
.settings(Settings.play: _*)
.settings(
libraryDependencies ++= Dependencies.core,
libraryDependencies ++= Dependencies.play,
coverageMinimum := 100,
(scalastyleConfig in Test) := file("scalastyle-test-config.xml")
)
.dependsOn(`unicorn-core` % Settings.alsoOnTest)
val unicorn = project
.in(file("."))
.aggregate(`unicorn-core`, `unicorn-play`)
.dependsOn(`unicorn-core`, `unicorn-play`)
.settings(Settings.parent: _*)
.enablePlugins(ScalaUnidocPlugin)
.settings(
name := "unicorn"
)