Skip to content

Commit

Permalink
Added support for Scala 2.12.19 (#114)
Browse files Browse the repository at this point in the history
Fix #113

Pull request: #114
  • Loading branch information
lefou authored Feb 21, 2024
1 parent 47a1c10 commit 3a886a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ 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"
}

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)
Expand Down

0 comments on commit 3a886a1

Please sign in to comment.