Skip to content

Commit

Permalink
Bump sbt-scoverage to 1.9.3 (close #44)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondzix committed Feb 10, 2022
1 parent 2b21f98 commit b6212dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ import bintray.BintrayKeys._
import com.typesafe.sbt.site.SitePlugin.autoImport._
import com.typesafe.sbt.SbtGit.GitKeys._

// Scoverage
import scoverage.ScoverageKeys._

object BuildSettings {

lazy val publishSettings = bintraySettings ++ Seq(
Expand Down Expand Up @@ -62,6 +59,10 @@ object BuildSettings {
lazy val javaCompilerOptions = Seq("-source", "11", "-target", "11")

lazy val coverageSettings = Seq(
coverageMinimum := 90
coverageMinimumStmtTotal := 90,
coverageFailOnMinimum := false,
(Test / test) := {
(coverageReport dependsOn (Test / test)).value
}
)
}
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.3")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.12")

0 comments on commit b6212dd

Please sign in to comment.