diff --git a/build.sc b/build.sc index e7bc22c..32c19dc 100644 --- a/build.sc +++ b/build.sc @@ -16,30 +16,35 @@ trait Setup { val millVersion: String def scalaVersion = "2.13.12" def testMillVersions: Seq[String] + def osLibVersion: String } object Setup { object R010 extends Setup { override val millPlatform = "0.10" - override val millVersion = "0.10.0" + override val millVersion = "0.10.0" // scala-steward:off // we skip 0.10.4 tests, as these don't run under windows properly override val testMillVersions = Seq("0.10.12", millVersion) + override val osLibVersion = "0.8.0" // scala-steward:off } object R09 extends Setup { override val millPlatform = "0.9" - override val millVersion = "0.9.3" + override val millVersion = "0.9.3" // scala-steward:off override val testMillVersions = Seq("0.9.12", millVersion) + override val osLibVersion = "0.7.1" // scala-steward:off } object R07 extends Setup { override val millPlatform = "0.7" - override val millVersion = "0.7.0" + override val millVersion = "0.7.0" // scala-steward:off override val testMillVersions = Seq("0.8.0", "0.7.3", millVersion) + override val osLibVersion = "0.7.0" // scala-steward:off } object R06 extends Setup { override val millPlatform = "0.6" - override val millVersion = "0.6.0" + override val millVersion = "0.6.0" // scala-steward:off override val scalaVersion = "2.12.18" override val testMillVersions = Seq("0.6.3", "0.6.2", "0.6.1", "0.6.0") + override val osLibVersion = "0.6.3" // scala-steward:off } } @@ -59,7 +64,7 @@ trait JbakeConfig extends CrossScalaModule with PublishModule { override def compileIvyDeps = Agg( ivy"com.lihaoyi::mill-main:${millVersion}", ivy"com.lihaoyi::mill-scalalib:${millVersion}", - ivy"com.lihaoyi::os-lib:0.6.3" + ivy"com.lihaoyi::os-lib:${setup.osLibVersion}" ) override def artifactName = T("de.tobiasroeser.mill.jbake")