Skip to content

Commit 75f08f8

Browse files
committed
Agg -> Seq
1 parent 4322fcf commit 75f08f8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.mill

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ object Deps {
3030
}
3131

3232
trait AcyclicModule extends ScalaModule {
33-
def acyclicDep: T[Agg[Dep]] = Task {
34-
Agg.from(Option.when(!scalaVersion().startsWith("3."))(Deps.acyclic))
33+
def acyclicDep: T[Seq[Dep]] = Task {
34+
Option.when(!scalaVersion().startsWith("3."))(Deps.acyclic).toSeq
3535
}
3636
def acyclicOptions: T[Seq[String]] = Task {
3737
Option.when(!scalaVersion().startsWith("3."))("-P:acyclic:force").toSeq
@@ -90,7 +90,7 @@ trait OsLibModule
9090
with PlatformScalaModule { outer =>
9191

9292
trait OsLibTestModule extends ScalaModule with TestModule.Utest {
93-
def mvnDeps = Agg(Deps.utest, Deps.sourcecode)
93+
def mvnDeps = Seq(Deps.utest, Deps.sourcecode)
9494
// we check the textual output of system commands and expect it in english
9595
def forkEnv = super.forkEnv() ++ Map(
9696
"LC_ALL" -> "C",
@@ -101,7 +101,7 @@ trait OsLibModule
101101
}
102102

103103
trait OsModule extends OsLibModule { outer =>
104-
def mvnDeps = Agg(Deps.geny)
104+
def mvnDeps = Seq(Deps.geny)
105105
override def compileMvnDeps = Task {
106106
val scalaReflectOpt = Option.when(!scalaVersion().startsWith("3."))(
107107
Deps.scalaReflect(scalaVersion())
@@ -161,7 +161,7 @@ object os extends Module {
161161
def moduleDeps = super.moduleDeps ++ Seq(os.zip)
162162

163163
object test extends ScalaTests with OsLibTestModule {
164-
override def mvnDeps = Task { super.mvnDeps() ++ Agg(Deps.expecty) }
164+
override def mvnDeps = Task { super.mvnDeps() ++ Seq(Deps.expecty) }
165165

166166
// we check the textual output of system commands and expect it in english
167167
def forkEnv = super.forkEnv() ++ Map(
@@ -248,7 +248,7 @@ object os extends Module {
248248
trait WatchJvmModule extends OsLibModule {
249249
def artifactName = "os-lib-watch"
250250
def moduleDeps = super.moduleDeps ++ Seq(os.jvm())
251-
def mvnDeps = Agg(Deps.jna)
251+
def mvnDeps = Seq(Deps.jna)
252252
object test extends ScalaTests with OsLibTestModule {
253253
def moduleDeps = super.moduleDeps ++ Seq(os.jvm().test)
254254

0 commit comments

Comments
 (0)