search term:

sbt-projectmatrix 0.10.0

I’ve released sbt-projectmatrix 0.10.0.

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.13"
ThisBuild / version      := "0.1.0-SNAPSHOT"

lazy val core = (projectMatrix in file("core"))
    name := "core"
  .jvmPlatform(scalaVersions = Seq("2.13.13", "2.12.19"))

In addition, cross building against Scala.JS, Scala Native, or arbitrary virtual axis is also supported. See previous posts part 1, part 2, and part 3 for more details.