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:
Alexandre Archambault 2017-05-15 15:32:51 +02:00
parent 7c7f236bcc
commit 3656389fff
11 changed files with 11 additions and 5 deletions

View File

@ -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