Skip to content

Commit

Permalink
Enable scoverage in 2.13 build
Browse files Browse the repository at this point in the history
Beware of 2.13.1 issue regarding scoverage/sbt-scoverage#295
  • Loading branch information
DieBauer committed Oct 2, 2019
1 parent a23498b commit 887dc38
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ import scala.xml.transform.{RewriteRule, RuleTransformer}
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}

lazy val scoverageSettings = Seq(
coverageEnabled := {
if (priorTo2_13(scalaVersion.value))
coverageEnabled.value
else
false
},
coverageEnabled := coverageEnabled.value,
coverageMinimum := 60,
coverageFailOnMinimum := false,
coverageHighlighting := true
Expand Down

0 comments on commit 887dc38

Please sign in to comment.