Skip to content

Commit 6d31805

Browse files
committed
TEMP: remove contrib.scoverage.worker
1 parent 624b434 commit 6d31805

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

contrib/package.mill

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ object `package` extends RootModule {
111111
def compileModuleDeps = Seq(build.scalalib)
112112

113113
def testTransitiveDeps =
114-
super.testTransitiveDeps() ++ Seq(worker.testDep(), worker2.testDep())
114+
super.testTransitiveDeps() ++ Seq(/*worker.testDep(), */ worker2.testDep())
115115

116116
def testArgs = T {
117117
super.testArgs() ++
@@ -128,18 +128,19 @@ object `package` extends RootModule {
128128
super.testModuleDeps ++
129129
Seq(build.scalalib, build.scalajslib, build.scalanativelib, build.contrib.buildinfo)
130130

131+
// TODO: (Scala 3) temporarily disable until decision on compatibility with Scala 3
131132
// Worker for Scoverage 1.x
132-
object worker extends build.MillPublishScalaModule {
133-
// scoverage is on an old Scala version which doesnt support scalafix
134-
def fix(args: String*): Command[Unit] = T.command {}
135-
def compileModuleDeps = Seq(build.main.api)
136-
def moduleDeps = Seq(scoverage.api)
137-
def testDepPaths = T { Seq(compile().classes) }
138-
139-
// compile-time only, need to provide the correct scoverage version at runtime
140-
def compileIvyDeps = Agg(build.Deps.scalacScoveragePlugin)
141-
def scalaVersion = build.Deps.scalaVersionForScoverageWorker1
142-
}
133+
// object worker extends build.MillPublishScalaModule {
134+
// // scoverage is on an old Scala version which doesnt support scalafix
135+
// def fix(args: String*): Command[Unit] = T.command {}
136+
// def compileModuleDeps = Seq(build.main.api)
137+
// def moduleDeps = Seq(scoverage.api)
138+
// def testDepPaths = T { Seq(compile().classes) }
139+
140+
// // compile-time only, need to provide the correct scoverage version at runtime
141+
// def compileIvyDeps = Agg(build.Deps.scalacScoveragePlugin)
142+
// def scalaVersion = build.Deps.scalaVersionForScoverageWorker1
143+
// }
143144

144145
// Worker for Scoverage 2.0
145146
object worker2 extends build.MillPublishScalaModule {

0 commit comments

Comments
 (0)