mirror of
https://github.com/lightbend/config.git
synced 2025-03-12 02:00:25 +08:00
add jacoco code coverage plugin
This commit is contained in:
parent
d0ac801720
commit
1b3d6d429f
@ -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 : _*)
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user