Skip to content
This repository was archived by the owner on May 4, 2025. It is now read-only.

Commit f17bad7

Browse files
authored
Merge pull request #92 from lolgab/mill-0.11.0-M10
Update Mill 0.11 to 0.11.0-M10
2 parents f3183cc + 87ab59a commit f17bad7

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

build.sc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import de.tobiasroeser.mill.vcs.version.VcsVersion
1717
import io.kipp.mill.ci.release.CiReleaseModule
1818
import io.kipp.mill.ci.release.SonatypeHost
1919

20-
val millVersions = Seq("0.10.12", "0.11.0-M8")
20+
val millVersions = Seq("0.10.12", "0.11.0-M10")
2121
val millBinaryVersions = millVersions.map(scalaNativeBinaryVersion)
22-
val scala213 = "2.13.8"
22+
val scala213 = "2.13.10"
2323
val artifactBase = "mill-github-dependency-graph"
2424

2525
def millBinaryVersion(millVersion: String) = scalaNativeBinaryVersion(

plugin/src-mill0.10/io/kipp/mill/github/dependency/graph/Reader.scala renamed to plugin/src-mill0.10/io/kipp/mill/github/dependency/graph/Discover.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ package io.kipp.mill.github.dependency.graph
22

33
import mill.main.EvaluatorScopt
44

5-
private[graph] object Reader {
5+
private[graph] object Discover {
66
implicit def millScoptEvaluatorReads[A]: EvaluatorScopt[A] =
77
new EvaluatorScopt[A]()
8+
9+
def apply[T] = mill.define.Discover[T]
810
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package io.kipp.mill.github.dependency.graph
2+
3+
private[graph] object Discover {
4+
def apply[T] = mill.define.Discover[T]
5+
}

plugin/src-mill0.11/io/kipp/mill/github/dependency/graph/Reader.scala

Lines changed: 0 additions & 6 deletions
This file was deleted.

plugin/src-mill0.11/io/kipp/mill/github/dependency/graph/Resolver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object Resolver {
2020
private[graph] def resolveModuleTrees(
2121
evaluator: Evaluator,
2222
javaModules: Seq[JavaModule]
23-
): Seq[ModuleTrees] = Evaluator.evalOrThrow(evaluator) {
23+
): Seq[ModuleTrees] = evaluator.evalOrThrow() {
2424
javaModules.map { javaModule =>
2525
T.task {
2626

plugin/src/io/kipp/mill/github/dependency/graph/Graph.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package io.kipp.mill.github.dependency.graph
33
import io.kipp.github.dependency.graph.domain
44
import mill._
55
import mill.define.Command
6-
import mill.define.Discover
76
import mill.define.ExternalModule
87
import mill.eval.Evaluator
98

@@ -27,6 +26,5 @@ object Graph extends ExternalModule {
2726
manifests
2827
}
2928

30-
import Reader._
31-
lazy val millDiscover: Discover[this.type] = mill.define.Discover[this.type]
29+
lazy val millDiscover: mill.define.Discover[this.type] = Discover[this.type]
3230
}

0 commit comments

Comments
 (0)