|
1 | | -diff --git a/build.mill b/build.mill |
2 | | -index 4465e163a55..6b8da38aae7 100644 |
3 | | ---- a/build.mill |
4 | | -+++ b/build.mill |
5 | | -@@ -124,7 +124,7 @@ val bridgeScalaVersions = Seq( |
6 | | - // on the fly anyway. For publishing, we publish everything or a specific version |
7 | | - // if given. |
8 | | - val compilerBridgeScalaVersions = |
9 | | -- interp.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match { |
10 | | -+ mill.define.BuildCtx.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match { |
11 | | - case None | Some("") | Some("none") => Seq.empty[String] |
12 | | - case Some("all") => (essentialBridgeScalaVersions ++ bridgeScalaVersions).distinct |
13 | | - case Some("essential") => essentialBridgeScalaVersions |
14 | | -@@ -181,7 +181,7 @@ def formatDep(dep: Dep) = { |
15 | | - s"${d.module.organization.value}:${d.module.name.value}:${d.versionConstraint.asString}" |
16 | | - } |
17 | | - |
18 | | --def listIn(path: os.Path) = interp.watchValue(os.list(path).map(_.last)) |
19 | | -+def listIn(path: os.Path) = mill.define.BuildCtx.watchValue(os.list(path).map(_.last)) |
20 | | - |
21 | | - val dummyDeps: Seq[Dep] = Seq( |
22 | | - Deps.DocDeps.millScip, |
23 | | -diff --git a/integration/package.mill b/integration/package.mill |
24 | | -index a5183fc0a5a..4cb6f6689cd 100644 |
25 | | ---- a/integration/package.mill |
26 | | -+++ b/integration/package.mill |
27 | | -@@ -14,6 +14,7 @@ import mill.T |
28 | | - import mill.define.Cross |
29 | | - import mill.testrunner.TestResult |
30 | | - import millbuild.* |
31 | | -+import upickle.implicits.namedTuples.default.given |
32 | | - |
33 | | - object `package` extends mill.Module { |
34 | | - // We compile the test code once and then offer multiple modes to |
35 | | -diff --git a/runner/codesig/package.mill b/runner/codesig/package.mill |
36 | | -index 3950422474a..1ed233d24f7 100644 |
37 | | ---- a/runner/codesig/package.mill |
38 | | -+++ b/runner/codesig/package.mill |
39 | | -@@ -18,7 +18,7 @@ object `package` extends MillPublishScalaModule { |
40 | | - |
41 | | - override lazy val test: CodeSigTests = new CodeSigTests {} |
42 | | - trait CodeSigTests extends MillScalaTests { |
43 | | -- val caseKeys = build.interp.watchValue( |
44 | | -+ val caseKeys = mill.define.BuildCtx.watchValue( |
45 | | - os.walk(moduleDir / "cases", maxDepth = 3) |
46 | | - .map(_.subRelativeTo(moduleDir / "cases").segments) |
47 | | - .collect { case Seq(a, b, c) => s"$a-$b-$c" } |
0 commit comments