Skip to content

Commit 2e1b5b3

Browse files
authored
Migrate build to Mill 0.10 compatible API and libs (#581)
1 parent c630c2f commit 2e1b5b3

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.mill-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.11
1+
0.9.12

build.sc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import $ivy.`com.lihaoyi::mill-contrib-bloop:$MILL_VERSION`
22
import $ivy.`io.get-coursier::coursier-launcher:2.1.0-M2`
3-
import $ivy.`io.github.alexarchambault.mill::mill-native-image-upload:0.1.13`
3+
import $ivy.`io.github.alexarchambault.mill::mill-native-image-upload:0.1.14`
44
import $file.project.deps, deps.{Deps, Docker, InternalDeps, Scala, TestDeps}
55
import $file.project.publish, publish.{ghOrg, ghName, ScalaCliPublishModule}
66
import $file.project.settings, settings.{
@@ -629,7 +629,7 @@ object `local-repo` extends LocalRepo {
629629

630630
def publishSonatype(tasks: mill.main.Tasks[PublishModule.PublishData]) = T.command {
631631
publish.publishSonatype(
632-
data = define.Task.sequence(tasks.value)(),
632+
data = define.Target.sequence(tasks.value)(),
633633
log = T.ctx().log
634634
)
635635
}

project/publish.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version_mill0.9:0.1.1`
1+
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.4`
22
import $file.settings, settings.PublishLocalNoFluff
33

44
import de.tobiasroeser.mill.vcs.version._

project/settings.sc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import $ivy.`com.goyeau::mill-scalafix:0.2.5`
2-
import $ivy.`io.github.alexarchambault.mill::mill-native-image_mill0.9:0.1.13`
1+
import $ivy.`com.goyeau::mill-scalafix::0.2.8`
2+
import $ivy.`io.github.alexarchambault.mill::mill-native-image::0.1.14`
33
import $file.deps, deps.{Deps, Docker, buildCsVersion}
44

55
import com.goyeau.mill.scalafix.ScalafixModule
@@ -513,13 +513,13 @@ trait LocalRepo extends Module {
513513

514514
def publishStubs = T {
515515
val tasks = stubsModules.map(_.publishLocalNoFluff())
516-
define.Task.sequence(tasks)
516+
define.Target.sequence(tasks)
517517
}
518518

519519
def localRepo = T {
520520
val repoRoot = os.rel / "out" / "repo" / "{VERSION}"
521521
val tasks = stubsModules.map(_.publishLocalNoFluff(repoRoot.toString))
522-
define.Task.sequence(tasks)
522+
define.Target.sequence(tasks)
523523
}
524524

525525
private def vcsState =

0 commit comments

Comments
 (0)