Add support for maven file: repositories

This commit is contained in:
Erik LaBianca 2016-02-22 11:47:18 -05:00
parent bf4a9bf2ea
commit 915903faf5
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ object FromSbt {
def repository(resolver: Resolver, ivyProperties: Map[String, String]): Option[Repository] =
resolver match {
case sbt.MavenRepository(_, root) =>
if (root.startsWith("http://") || root.startsWith("https://")) {
if (root.startsWith("http://") || root.startsWith("https://") || root.startsWith("file:/")) {
val root0 = if (root.endsWith("/")) root else root + "/"
Some(MavenRepository(root0, sbtAttrStub = true))
} else {