mirror of https://github.com/sbt/sbt.git
Remove now unused sbt-compat
Unnecessary since sbt 0.13 support was dropped
This commit is contained in:
parent
49236d2e8f
commit
e5b2e2ee13
15
build.sbt
15
build.sbt
|
|
@ -24,20 +24,7 @@ lazy val `sbt-shared` = project
|
|||
libraryDependencies ++= Seq(
|
||||
"io.get-coursier" %% "coursier" % coursierVersion,
|
||||
"io.get-coursier" %% "coursier-cache" % coursierVersion
|
||||
),
|
||||
// because we don't publish for 2.11 the following declaration
|
||||
// is more wordy than usual
|
||||
// once support for sbt 0.13 is removed, this dependency can go away
|
||||
libraryDependencies ++= {
|
||||
val dependency = "com.dwijnand" % "sbt-compat" % "1.2.6"
|
||||
val sbtV = (sbtBinaryVersion in pluginCrossBuild).value
|
||||
val scalaV = (scalaBinaryVersion in update).value
|
||||
val m = Defaults.sbtPluginExtra(dependency, sbtV, scalaV)
|
||||
CrossVersion.partialVersion(scalaVersion.value).collect {
|
||||
case (2, 10) => m
|
||||
case (2, 12) => m
|
||||
}.toList
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
lazy val `sbt-coursier` = project
|
||||
|
|
|
|||
Loading…
Reference in New Issue