mirror of https://github.com/sbt/sbt.git
Fix for ~/.ivy2/local from plugin on Windows
This commit is contained in:
parent
ac23e17c49
commit
c37018b622
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue