File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name := "sbt-scoverage"
22
33import sbt .ScriptedPlugin .autoImport .scriptedLaunchOpts
44
5- lazy val scoverageVersion = " 15 .0.0"
5+ lazy val scoverageVersion = " 2 .0.0-M2 "
66
77inThisBuild(
88 List (
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ object ScoverageSbtPlugin extends AutoPlugin {
102102 )
103103
104104 private lazy val scalacSettings = Seq (
105- // TODO check will need to go here for scala 3
106105 Compile / compile / scalacOptions ++= {
107106 val updateReport = update.value
108107 if (coverageEnabled.value && isScala2(scalaVersion.value)) {
@@ -158,8 +157,9 @@ object ScoverageSbtPlugin extends AutoPlugin {
158157 ).flatten
159158 } else if (
160159 // TODO this is very temporary until support for this gets merged in.
161- // For now we restrict this to this exact SNAPSHOT version
162- coverageEnabled.value && scalaVersion.value == " 3.1.1-RC1-bin-SNAPSHOT"
160+ // For now we restrict this to this exact SNAPSHOT version which needs
161+ // to be published localled in order to test
162+ coverageEnabled.value && scalaVersion.value == " 3.1.2-RC1-bin-SNAPSHOT"
163163 ) {
164164 Seq (
165165 " -coverage" ,
You can’t perform that action at this time.
0 commit comments