-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
43 lines (29 loc) · 1.12 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
name := "refined-guava"
version := "0.0.1"
scalaVersion := "2.12.1"
lazy val root = project in file(".")
libraryDependencies ++= {
Seq(
"com.google.guava" % "guava" % "21.0" % Compile,
"eu.timepit" %% "refined" % "0.6.2" % Compile,
"org.scalatest" %% "scalatest" % "3.0.1" % Test,
"org.pegdown" % "pegdown" % "1.6.0" % Test
)
}
scalacOptions ++= Seq(
"-feature", "-unchecked", "-deprecation", "-Xfuture", "-Xlint",
"-Xfatal-warnings", "-Yno-adapted-args", "-Ywarn-dead-code", "-Ywarn-numeric-widen")
// don't let Ctrl-C exit
cancelable in Global := true
autoAPIMappings := true
// generate HTML reports for tests
(testOptions in Test) += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/report")
// show test durations
(testOptions in Test) += Tests.Argument(TestFrameworks.ScalaTest, "-oD")
// run tests in parallel
parallelExecution in Test := true
// cache dependency resolution information
updateOptions := updateOptions.value.withCachedResolution(true)
scapegoatVersion := "1.3.0"
tutSettings
tutTargetDirectory := file(".")