0.7.0
virtualAxes key
sbt-projectmatrix 0.7.0 adds a setting named virtualAxes
, which allows subprojects to access their own virtual axes.
lazy val core = (projectMatrix in file("core"))
.settings(
name := "core"
)
.jsPlatform(scalaVersions = Seq("2.12.12", "2.11.12"))
.jvmPlatform(scalaVersion = Seq("2.12.12", "2.13.3"))
.settings(
platformTest := {
if(virtualAxes.value.contains(VirtualAxis.jvm))
"JVM project"
else
"JS project"
}
)
This was contributed by @keynmol as #36
Use Scala's ABI version to generate suffix
sbt-projectmatrix 0.7.0 will use Scala's ABI version to generate the subproject suffix. So instead of fooApp3_0
, it will now be fooApp3_0_0_M1
for Scala 3.0.0-M1. #42 by @eed3si9n