forked from scoverage/sbt-scoverage-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
40 lines (25 loc) · 1.11 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
name := "scoverage-samples"
organization := "org.scoverage"
buildversion.base := "0.99.5"
version := buildversion.base.value + "-" + buildversion.revision
scalaVersion := "2.11.0"
crossScalaVersions := Seq("2.11.0", "2.10.3")
javacOptions ++= Seq("-source", "1.6", "-target", "1.6")
scalacOptions ++= Seq("-unchecked", "-deprecation")
scalacOptions in (Compile, doc) ++= Seq("-unchecked", "-deprecation", "-diagrams", "-implicits", "-skip-packages", "samples")
libraryDependencies ++= Seq(
"commons-io" % "commons-io" % "2.4",
"com.typesafe.akka" %% "akka-actor" % "2.3.2",
"com.typesafe.akka" %% "akka-actor-tests" % "2.3.2",
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.scalatest" %% "scalatest" % "2.1.6" % "test"
)
instrumentSettings
ScoverageKeys.minimumCoverage := 70
ScoverageKeys.failOnMinimumCoverage := false
ScoverageKeys.highlighting := {
if (scalaBinaryVersion.value == "2.10") false
else false
}
publishArtifact in Test := false
parallelExecution in Test := false