Releases: sbt/sbt-projectmatrix
0.10.0
updates
- Adds
projectMatrixBaseDirectory
setting by @hugo-vrijswijk in #88 - Adds support for non-matrix projects to be aggregated in and depended on by matrix projects by @vilunov in #89
new contributors
- @hugo-vrijswijk made their first contribution in #88
- @vilunov made their first contribution in #89
Full Changelog: v0.9.2...v0.10.0
0.9.2
about sbt-projectmatrix
sbt-projectmatrix is a new implementation of cross building feature that encodes cross build as subprojects. The following will create core
and core2_12
. Unlike ++
style stateful cross building, these will build in parallel.
ThisBuild / organization := "com.example"
ThisBuild / scalaVersion := "2.13.3"
ThisBuild / version := "0.1.0-SNAPSHOT"
lazy val core = (projectMatrix in file("core"))
.settings(
name := "core"
)
.jvmPlatform(scalaVersions = Seq("2.13.3", "2.12.12"))
In addition, cross building against Scala.JS, Scala Native, or arbitrary virtual axis is also supported.
bug fixes
- Adds Java sources directories by @miguel-vila in #85
- Uses project axes when not auto scala lib by @miguel-vila in #86
new contributors
- @miguel-vila made their first contribution in #85
Full Changelog: v0.9.1...v0.9.2
0.9.1
about sbt-projectmatrix
sbt-projectmatrix is a new implementation of cross building feature that encodes cross build as subprojects. The following will create core
and core2_12
. Unlike ++
style stateful cross building, these will build in parallel.
ThisBuild / organization := "com.example"
ThisBuild / scalaVersion := "2.13.3"
ThisBuild / version := "0.1.0-SNAPSHOT"
lazy val core = (projectMatrix in file("core"))
.settings(
name := "core"
)
.jvmPlatform(scalaVersions = Seq("2.13.3", "2.12.12"))
In addition, cross building against Scala.JS, Scala Native, or arbitrary virtual axis is also supported.
update
behind the scene
new contributors
Full Changelog: v0.9.0...v0.9.1
0.9.0
- Adds builders that accept custom axis values #64 by @keynmol
- Support Scala 3.1 in Scala 2.13-3.x sandwich #67 by @DamianReeves
0.8.0
sbt-projectmatrix 0.8.0 adds def allProjects(): Seq[(Project, Seq[VirtualAxis])]
method to get all subprojects under the matrix.
This was contributed by @keynmol in #50
sbt-projectmatrix 0.8.0 is published to Maven Central.
about sbt-projectmatrix
sbt-projectmatrix is a new implementation of cross building feature that encodes cross build as subprojects. The following will create core
and core2_12
. Unlike ++
style stateful cross building, these will build in parallel.
ThisBuild / organization := "com.example"
ThisBuild / scalaVersion := "2.13.3"
ThisBuild / version := "0.1.0-SNAPSHOT"
lazy val core = (projectMatrix in file("core"))
.settings(
name := "core"
)
.jvmPlatform(scalaVersions = Seq("2.13.3", "2.12.12"))
In addition, cross building against Scala.JS, Scala Native, or arbitrary virtual axis is also supported.
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