add jacoco code coverage plugin

This commit is contained in:
Havoc Pennington 2011-11-09 08:47:29 -05:00
parent d0ac801720
commit 1b3d6d429f
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
import de.johoop.findbugs4sbt.FindBugs._
import de.johoop.findbugs4sbt.ReportType
import de.johoop.jacoco4sbt._
import JacocoPlugin._
name := "config"
@ -16,3 +18,5 @@ seq(findbugsSettings : _*)
findbugsReportType := ReportType.Html
findbugsReportName := "findbugs.html"
seq(jacoco.settings : _*)

View File

@ -1,2 +1,8 @@
addSbtPlugin("de.johoop" % "findbugs4sbt" % "1.1.2")
libraryDependencies ++= Seq(
"org.jacoco" % "org.jacoco.core" % "0.5.3.201107060350" artifacts(Artifact("org.jacoco.core", "jar", "jar")),
"org.jacoco" % "org.jacoco.report" % "0.5.3.201107060350" artifacts(Artifact("org.jacoco.report", "jar", "jar")))
addSbtPlugin("de.johoop" % "jacoco4sbt" % "1.2.0")