From 3a886a115cd5e134226161faa94d559e3b2babea Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Wed, 21 Feb 2024 10:41:23 +0100 Subject: [PATCH] Added support for Scala 2.12.19 (#114) Fix https://github.com/com-lihaoyi/acyclic/issues/113 Pull request: https://github.com/com-lihaoyi/acyclic/pull/114 --- build.sc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.sc b/build.sc index 458a5d0..99ad04f 100644 --- a/build.sc +++ b/build.sc @@ -4,9 +4,11 @@ import mill._, scalalib._, publish._ import de.tobiasroeser.mill.vcs.version.VcsVersion object Deps { - def acyclicAgg(scalaVersion: String) = - Agg(ivy"com.lihaoyi:::acyclic:0.3.9") - .filter(_ => scalaVersion != "2.13.12" /* exclude unreleased versions, if any */ ) + def acyclicAgg(scalaVersion: String) = { + Agg.when(!Seq("2.12.19").contains(scalaVersion) /* exclude unreleased versions, if any */ )( + ivy"com.lihaoyi:::acyclic:0.3.9" + ) + } def scalaCompiler(scalaVersion: String) = ivy"org.scala-lang:scala-compiler:${scalaVersion}" val utest = ivy"com.lihaoyi::utest:0.8.1" @@ -14,7 +16,7 @@ object Deps { val crosses = Seq("2.11.12") ++ - 8.to(18).map("2.12." + _) ++ + 8.to(19).map("2.12." + _) ++ 0.to(12).map("2.13." + _) object acyclic extends Cross[AcyclicModule](crosses)