@@ -82,7 +82,7 @@ object Build {
8282 organization := " dev.guardrail" ,
8383 licenses += (" MIT" , url(" http://opensource.org/licenses/MIT" )),
8484
85- crossScalaVersions := Seq (" 2.12.18" , " 2.13.12 " ),
85+ crossScalaVersions := Seq (" 2.12.18" , " 2.13.18 " ),
8686 scalaVersion := " 2.12.18" ,
8787
8888 // early-semver was a mistake. We already have early-semver guaratees during CI, but including this in the publishing POM
@@ -106,6 +106,13 @@ object Build {
106106 scalacOptions ++= ifScalaVersion(_ <= 11 )(List (" -Xexperimental" )).value,
107107 scalacOptions ++= ifScalaVersion(_ == 12 )(List (" -Ypartial-unification" )).value,
108108 Test / parallelExecution := true ,
109+ ScoverageKeys .coverageScalacPluginVersion := {
110+ CrossVersion .partialVersion(scalaVersion.value) match {
111+ case Some ((2 , 12 )) if scalaVersion.value == " 2.12.16" => " 2.3.0"
112+ case _ => " 2.5.2"
113+ }
114+ },
115+ wartremoverCrossVersion := CrossVersion .binary,
109116 addCompilerPlugin(" org.typelevel" % " kind-projector" % " 0.13.4" cross CrossVersion .full),
110117 addCompilerPlugin(" com.olegpy" %% " better-monadic-for" % " 0.3.1" ),
111118 addCompilerPlugin(scalafixSemanticdb),
0 commit comments