Skip to content

Releases: sbt/sbt-projectmatrix

0.10.0

01 Mar 05:06
v0.10.0
380d152
Compare
Choose a tag to compare

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

Full Changelog: v0.9.2...v0.10.0

0.9.2

02 Jan 16:34
v0.9.2
506e9dd
Compare
Choose a tag to compare

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

new contributors

Full Changelog: v0.9.1...v0.9.2

0.9.1

24 Jun 08:02
v0.9.1
8d27205
Compare
Choose a tag to compare

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

  • Fixes configure function not being called on nativePlatform by @keynmol in #79

behind the scene

new contributors

Full Changelog: v0.9.0...v0.9.1

0.9.0

05 Nov 17:37
v0.9.0
b92c16a
Compare
Choose a tag to compare

v0.8.0...v0.9.0

0.8.0

01 May 20:46
v0.8.0
Compare
Choose a tag to compare

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

02 Dec 07:29
v0.7.0
Compare
Choose a tag to compare

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

0.6.0

02 Dec 03:38
v0.6.0
74feb45
Compare
Choose a tag to compare

0.5.2

05 May 22:03
v0.5.2
6c5e533
Compare
Choose a tag to compare
v0.5.2

0.5.2

0.5.1

05 May 22:02
v0.5.1
09619ee
Compare
Choose a tag to compare
v0.5.1

0.5.1

0.5.0

20 Apr 05:10
v0.5.0
3e38d9c
Compare
Choose a tag to compare