From 1c0329347d15e4088907f4d645a4b3f46be2c4d6 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Wed, 10 Apr 2024 11:31:36 +0200 Subject: [PATCH] don't use projectmatrix on interfaces as it's not cross-built --- build.sbt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 38122c9c7..cd9dcafa1 100644 --- a/build.sbt +++ b/build.sbt @@ -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 { @@ -52,8 +52,6 @@ lazy val interfaces = projectMatrix crossPaths := false, autoScalaLibrary := false ) - .defaultAxes(VirtualAxis.jvm) - .jvmPlatform(false) .disablePlugins(ScalafixPlugin) lazy val core = projectMatrix @@ -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"))