From f1116e59293dbca85d6491e8f0cbc336f6a72e9a Mon Sep 17 00:00:00 2001 From: Matthias Berndt Date: Wed, 5 Jun 2024 22:01:08 +0200 Subject: [PATCH] bump mill --- .mill-version | 2 +- build.sc | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.mill-version b/.mill-version index 78bc1ab..b80f98e 100644 --- a/.mill-version +++ b/.mill-version @@ -1 +1 @@ -0.10.0 +0.11.7 diff --git a/build.sc b/build.sc index c29474a..6160ef7 100644 --- a/build.sc +++ b/build.sc @@ -1,4 +1,4 @@ -import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.4` +import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0` import de.tobiasroeser.mill.vcs.version._ import mill._ @@ -8,9 +8,8 @@ import scala.concurrent.duration.{Duration, DurationInt} def scala213 = "2.13.14" def scala212 = "2.12.19" -def scalaVersions = Seq(scala213, scala212) -object publish extends Cross[Publish](scalaVersions: _*) +object publish extends Cross[Publish](scala213, scala212) object Deps { @@ -30,7 +29,7 @@ object Deps { def utest = ivy"com.lihaoyi::utest::0.7.10" } -class Publish(val crossScalaVersion: String) extends CrossScalaModule with Published { +trait Publish extends CrossScalaModule with Published { def ivyDeps = super.ivyDeps() ++ Seq( Deps.coursierCache, Deps.coursierCore, @@ -45,7 +44,7 @@ class Publish(val crossScalaVersion: String) extends CrossScalaModule with Publi "--release", "8" ) - object test extends Tests { + object test extends ScalaTests { def ivyDeps = super.ivyDeps() ++ Seq( Deps.utest )