Skip to content

Commit dd17681

Browse files
authored
add env variable for CB (com-lihaoyi#209)
To be able to override the version of scala for CB, we need to add it via environment variables.
1 parent 9526084 commit dd17681

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.mill

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ import mill.scalalib.publish.{Developer, License, PomSettings, VersionControl}
1111
import mill.util.VcsVersion
1212
import com.github.lolgab.mill.mima._
1313

14+
val communityBuildDottyVersion = sys.props.get("dottyVersion").toList
1415
val scalaNextVersion = sys.props.get("scalaNextVersion")
15-
val scalaVersions = List("2.12.20", "2.13.15", "3.3.4") ++ scalaNextVersion
16+
val scalaVersions = List("2.12.20", "2.13.15", "3.3.4") ++ scalaNextVersion ++ communityBuildDottyVersion
1617
val scalaNativeVer = "0.5.6"
1718

1819
trait MimaCheck extends Mima {

0 commit comments

Comments
 (0)