mirror of https://github.com/sbt/sbt.git
Only compile sbt-launcher module in 2.11
So that we don't have to wait on its dependencies to add preliminary support for scala 2.13
This commit is contained in:
parent
7c7f236bcc
commit
3656389fff
16
build.sbt
16
build.sbt
|
|
@ -194,11 +194,17 @@ lazy val `sbt-launcher` = project
|
|||
.settings(
|
||||
shared,
|
||||
generatePack,
|
||||
libs ++= Seq(
|
||||
Deps.caseApp,
|
||||
Deps.sbtLauncherInterface,
|
||||
Deps.typesafeConfig
|
||||
)
|
||||
dontPublishIn("2.10", "2.12"),
|
||||
libs ++= {
|
||||
if (scalaBinaryVersion.value == "2.11")
|
||||
Seq(
|
||||
Deps.caseApp,
|
||||
Deps.sbtLauncherInterface,
|
||||
Deps.typesafeConfig
|
||||
)
|
||||
else
|
||||
Nil
|
||||
}
|
||||
)
|
||||
|
||||
lazy val `http-server` = project
|
||||
|
|
|
|||
Loading…
Reference in New Issue