File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ val bridgeScalaVersions = Seq(
128128// on the fly anyway. For publishing, we publish everything or a specific version
129129// if given.
130130val compilerBridgeScalaVersions =
131- interp .watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match {
131+ mill.define.BuildCtx .watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match {
132132 case None | Some("") | Some("none") => Seq.empty[String]
133133 case Some("all") => (essentialBridgeScalaVersions ++ bridgeScalaVersions).distinct
134134 case Some("essential") => essentialBridgeScalaVersions
@@ -185,7 +185,7 @@ def formatDep(dep: Dep) = {
185185 s"${d.module.organization.value}:${d.module.name.value}:${d.versionConstraint.asString}"
186186}
187187
188- def listIn(path: os.Path) = interp .watchValue(os.list(path).map(_.last))
188+ def listIn(path: os.Path) = mill.define.BuildCtx .watchValue(os.list(path).map(_.last))
189189
190190val dummyDeps: Seq[Dep] = Seq(
191191 Deps.DocDeps.millScip,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import mill.T
1414import mill.define.Cross
1515import mill.testrunner.TestResult
1616import millbuild.*
17+ import upickle.implicits.namedTuples.default.given
1718
1819object `package` extends mill.Module {
1920 // We compile the test code once and then offer multiple modes to
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ object `package` extends MillPublishScalaModule {
1818
1919 override lazy val test: CodeSigTests = new CodeSigTests {}
2020 trait CodeSigTests extends MillScalaTests {
21- val caseKeys = build.interp .watchValue(
21+ val caseKeys = mill.define.BuildCtx .watchValue(
2222 os.walk(moduleDir / "cases", maxDepth = 3)
2323 .map(_.subRelativeTo(moduleDir / "cases").segments)
2424 .collect { case Seq(a, b, c) => s"$a-$b-$c" }
You can’t perform that action at this time.
0 commit comments