Fix for ~/.ivy2/local from plugin on Windows

This commit is contained in:
Alexandre Archambault 2015-12-31 16:36:57 +01:00
parent ac23e17c49
commit c37018b622
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ object Tasks {
val interProjectRepo = InterProjectRepository(projects)
val ivyProperties = Map(
"ivy.home" -> s"${sys.props("user.home")}/.ivy2"
"ivy.home" -> (new File(sys.props("user.home")).toURI.getPath + "/.ivy2")
) ++ sys.props
val repositories = Seq(globalPluginsRepo, interProjectRepo) ++ resolvers.flatMap(FromSbt.repository(_, ivyProperties))