From 31a7cf4ab42f9d4fda4db63cba47ebe9c7fa3cb0 Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Wed, 6 Sep 2023 23:22:00 +0200 Subject: [PATCH] Update Mill to 0.11.2 (#101) Pull request: https://github.com/com-lihaoyi/acyclic/pull/101 --- .mill-version | 2 +- build.sc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.mill-version b/.mill-version index 5111446..a8839f7 100644 --- a/.mill-version +++ b/.mill-version @@ -1 +1 @@ -0.10.12 \ No newline at end of file +0.11.2 \ No newline at end of file diff --git a/build.sc b/build.sc index 527a1ca..6866768 100644 --- a/build.sc +++ b/build.sc @@ -17,8 +17,8 @@ val crosses = 8.to(18).map("2.12." + _) ++ 0.to(12).map("2.13." + _) -object acyclic extends Cross[AcyclicModule](crosses: _*) -class AcyclicModule(val crossScalaVersion: String) extends CrossScalaModule with PublishModule { +object acyclic extends Cross[AcyclicModule](crosses) +trait AcyclicModule extends CrossScalaModule with PublishModule { override def crossFullScalaVersion = true override def artifactName = "acyclic" def publishVersion = VcsVersion.vcsState().format() @@ -39,7 +39,7 @@ class AcyclicModule(val crossScalaVersion: String) extends CrossScalaModule with override def scalacPluginIvyDeps = Deps.acyclicAgg(crossScalaVersion) - object test extends Tests with TestModule.Utest { + object test extends ScalaTests with TestModule.Utest { override def sources = T.sources(millSourcePath / "src", millSourcePath / "resources") override def ivyDeps = Agg( Deps.utest,