Support SBT 1.1+ for preloading the compiler interface

This commit is contained in:
Mathias Bogaert 2018-03-16 12:41:26 +01:00 committed by GitHub
parent 311bb7022c
commit 7d826e05d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ lazy val dist = (project in file("dist"))
exportRepo := {
val old = exportRepo.value
sbtVersionToRelease match {
case v if v.startsWith("1.0.") =>
case v if v.startsWith("1.") =>
val zincBase = exportRepoDirectory.value / "org.scala-sbt" / "zinc_2.12"
val zincVersion = (zincBase * DirectoryFilter).get.head.getName
val utilBase = exportRepoDirectory.value / "org.scala-sbt" / "util-logging_2.12"