Skip to content

Commit

Permalink
Merge pull request #1972 from bjaglin/interfaces-regular-project
Browse files Browse the repository at this point in the history
don't use projectmatrix on interfaces as it's not cross-built
  • Loading branch information
bjaglin authored Apr 10, 2024
2 parents f178efd + 1c03293 commit f9482c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 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 Down Expand Up @@ -52,8 +52,6 @@ lazy val interfaces = projectMatrix
crossPaths := false,
autoScalaLibrary := false
)
.defaultAxes(VirtualAxis.jvm)
.jvmPlatform(false)
.disablePlugins(ScalafixPlugin)

lazy val core = projectMatrix
Expand Down Expand Up @@ -164,7 +162,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 f9482c6

Please sign in to comment.