File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name := "sbt-scoverage"
2
2
3
3
import sbt .ScriptedPlugin .autoImport .scriptedLaunchOpts
4
4
5
- lazy val scoverageVersion = " 15 .0.0"
5
+ lazy val scoverageVersion = " 2 .0.0-M2 "
6
6
7
7
inThisBuild(
8
8
List (
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ object ScoverageSbtPlugin extends AutoPlugin {
102
102
)
103
103
104
104
private lazy val scalacSettings = Seq (
105
- // TODO check will need to go here for scala 3
106
105
Compile / compile / scalacOptions ++= {
107
106
val updateReport = update.value
108
107
if (coverageEnabled.value && isScala2(scalaVersion.value)) {
@@ -158,8 +157,9 @@ object ScoverageSbtPlugin extends AutoPlugin {
158
157
).flatten
159
158
} else if (
160
159
// 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"
163
163
) {
164
164
Seq (
165
165
" -coverage" ,
You can’t perform that action at this time.
0 commit comments