Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't use projectmatrix on interfaces as it's not cross-built #1972

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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