-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
48 lines (44 loc) · 1.62 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
lazy val commonSettings = doctestSettings ++ Seq(
name := "syzygist",
organization := "org.syzygist",
scalaVersion := "2.11.6",
crossScalaVersions := Seq("2.10.5", "2.11.6"),
scalacOptions := Seq(
"-feature",
"-language:higherKinds",
"-deprecation",
"-unchecked"
),
resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases",
doctestWithDependencies := false,
dependencyUpdatesFailBuild := true,
dependencyUpdatesExclusions :=
moduleFilter("org.scalaz.stream", "scalaz-stream", "0.7a") |
moduleFilter("org.openjdk.jmh"),
libraryDependencies ++= Seq(
"org.scalaz.stream" %% "scalaz-stream" % "0.7a",
"org.scalacheck" %% "scalacheck" % "1.12.2" % "test"
),
ScoverageSbtPlugin.ScoverageKeys.coverageHighlighting := (
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 10)) => false
case _ => true
}
)
)
lazy val root = project.in(file(".")).settings(moduleName := "syzygist-root")
.aggregate(split, parse, benchmarks)
.dependsOn(split, parse)
.settings(unidocSettings: _*)
.settings(commonSettings: _*)
lazy val split = project.settings(moduleName := "syzygist-split")
.settings(commonSettings: _*)
.settings(scalacOptions += "-Xfatal-warnings")
lazy val parse = project.settings(moduleName := "syzygist-parse")
.settings(commonSettings: _*)
.settings(libraryDependencies += "org.parboiled" %% "parboiled" % "2.1.0")
lazy val benchmarks = project
.settings(commonSettings: _*)
.settings(jmhSettings: _*)
.settings(libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test")
.dependsOn(split, parse)