Skip to content

Commit

Permalink
don't use projectmatrix on interfaces as it's not cross-built
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed Apr 6, 2024
1 parent 16cd128 commit fe2866b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def inferJavaHome() = {
Some(actualHome)
}

lazy val interfaces = projectMatrix
lazy val interfaces = project
.in(file("scalafix-interfaces"))
.settings(
Compile / resourceGenerators += Def.task {
Expand All @@ -49,11 +49,8 @@ lazy val interfaces = projectMatrix
(Compile / doc / javaHome) := inferJavaHome(),
libraryDependencies += coursierInterfaces,
moduleName := "scalafix-interfaces",
crossPaths := false,
autoScalaLibrary := false
)
.defaultAxes(VirtualAxis.jvm)
.jvmPlatform(false)
.disablePlugins(ScalafixPlugin)

lazy val core = projectMatrix
Expand Down Expand Up @@ -164,7 +161,8 @@ lazy val cli = projectMatrix
)
.defaultAxes(VirtualAxis.jvm)
.jvmPlatform(buildScalaVersions)
.dependsOn(reflect, interfaces, rules)
.dependsOn(interfaces)
.dependsOn(reflect, rules)

lazy val testkit = projectMatrix
.in(file("scalafix-testkit"))
Expand Down

0 comments on commit fe2866b

Please sign in to comment.