forked from sbt/sbt-jacoco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·39 lines (23 loc) · 1.06 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
sbtPlugin := true
name := "jacoco4sbt"
organization := "de.johoop"
version := "2.1.7-SNAPSHOT"
resolvers += "Sonatype Release" at "https://oss.sonatype.org/content/repositories/releases"
scalaVersion := "2.10.4"
val jacocoCore = Artifact("org.jacoco.core", "jar", "jar")
val jacocoReport = Artifact("org.jacoco.report", "jar", "jar")
val jacocoVersion = "0.7.1.201405082137"
libraryDependencies ++= Seq(
"org.jacoco" % "org.jacoco.core" % jacocoVersion artifacts(jacocoCore),
"org.jacoco" % "org.jacoco.report" % jacocoVersion artifacts(jacocoReport),
"org.specs2" %% "specs2" % "2.3.13" % Test,
"org.mockito" % "mockito-all" % "1.9.5" % Test,
"org.pegdown" % "pegdown" % "1.2.1" % Test
)
scalacOptions ++= Seq("-unchecked", "-deprecation", "-language:_")
buildInfoSettings
sourceGenerators in Compile <+= buildInfo
buildInfoKeys := Seq[BuildInfoKey](resourceDirectory in Test)
buildInfoPackage := "de.johoop.jacoco4sbt.build"
test in Test <<= test in Test dependsOn publishLocal
parallelExecution in Test := false