Skip to content

Commit

Permalink
remove workarounds no longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed Dec 1, 2024
1 parent 323d187 commit 933f257
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,6 @@ lazy val rules = projectMatrix
"org.scala-lang" %% "scala3-presentation-compiler" % scalaVersion.value,
coursierInterfaces
)
},
// companion of `.dependsOn(core)`
// issue reported in https://github.com/sbt/sbt/issues/7405
// using workaround from https://github.com/sbt/sbt/issues/5369#issue-549758513
projectDependencies := {
projectDependencies.value.map {
case core
if core.name == "scalafix-core" && scalaBinaryVersion.value == "3" =>
core
.withName("scalafix-core_2.13")
.withCrossVersion(CrossVersion.disabled)
case dep =>
dep
}
}
)
.defaultAxes(VirtualAxis.jvm)
Expand Down Expand Up @@ -205,20 +191,6 @@ lazy val cli = projectMatrix
geny
).map(_ % Runtime)
},
// companion of `.dependsOn(reflect)`
// issue reported in https://github.com/sbt/sbt/issues/7405
// using workaround from https://github.com/sbt/sbt/issues/5369#issue-549758513
projectDependencies := {
projectDependencies.value.map {
case core
if core.name == "scalafix-reflect" && scalaBinaryVersion.value == "3" =>
core
.withName(s"scalafix-reflect_${scala213}")
.withCrossVersion(CrossVersion.disabled)
case dep =>
dep
}
},
publishLocalTransitive := Def.taskDyn {
val ref = thisProjectRef.value
publishLocal.all(ScopeFilter(inDependencies(ref)))
Expand Down

0 comments on commit 933f257

Please sign in to comment.