Skip to content

Commit

Permalink
remove coupling to sbt-projectmatrix, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-brice-jaglin committed May 19, 2021
1 parent 5b9bcfe commit c8f7a1b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
6 changes: 0 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ commands += Command.command("ci-windows") { s =>
// Dependencies
resolvers += Resolver.sonatypeRepo("public")
libraryDependencies ++= Dependencies.all
libraryDependencies ++= Dependencies.sbt1Plugins.flatMap { plugin =>
val sbtV = (sbtBinaryVersion in pluginCrossBuild).value
val scalaV = (scalaBinaryVersion in update).value
if (sbtV.startsWith("0.13")) Nil
else Seq(sbt.Defaults.sbtPluginExtra(plugin, sbtV, scalaV))
}
libraryDependencies ++= List(
"com.lihaoyi" %% "fansi" % "0.2.6" % Test,
"org.scalatest" %% "scalatest" % "3.2.9" % Test
Expand Down
4 changes: 0 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ object Dependencies {
"com.geirsson" %% "coursier-small" % "1.3.3",
"io.get-coursier" % "interface" % "1.0.4"
)

val sbt1Plugins = List(
"com.eed3si9n" % "sbt-projectmatrix" % "0.8.0"
)
}
6 changes: 0 additions & 6 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ unmanagedSourceDirectories.in(Compile) ++= {
)
}
libraryDependencies ++= Dependencies.all
libraryDependencies ++= Dependencies.sbt1Plugins.flatMap { plugin =>
val sbtV = (sbtBinaryVersion in pluginCrossBuild).value
val scalaV = (scalaBinaryVersion in update).value
if (sbtV.startsWith("0.13")) Nil
else Seq(sbt.Defaults.sbtPluginExtra(plugin, sbtV, scalaV))
}
1 change: 1 addition & 0 deletions src/sbt-test/sbt-1.5/testkit/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
resolvers += Resolver.sonatypeRepo("public")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % sys.props("plugin.version"))
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.8.0")

0 comments on commit c8f7a1b

Please sign in to comment.