Skip to content

Commit

Permalink
Merge branch 'main' into update/os-lib-0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward committed Sep 24, 2023
2 parents 25f546f + 1c7b702 commit bcfe540
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// build.sc

import $ivy.`de.tototec::de.tobiasroeser.mill.integrationtest::0.6.0`
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 mill._
import mill.scalalib._
Expand All @@ -14,32 +14,37 @@ import mill.define.{Target, Task}
trait Setup {
val millPlatform: String
val millVersion: String
def scalaVersion = "2.13.11"
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 scalaVersion = "2.12.15"
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
}
}

Expand All @@ -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")

Expand Down

0 comments on commit bcfe540

Please sign in to comment.