fix csrCachePath

This commit is contained in:
Eugene Yokota 2019-04-20 02:12:01 -04:00
parent 4b4359f7b1
commit ca53934941
1 changed files with 5 additions and 1 deletions

View File

@ -2138,7 +2138,11 @@ object Classpaths {
val defaultIvyCache = bootIvyHome(appConfiguration.value)
if (old != coursier.cache.CacheDefaults.location) old
else if (ip.ivyHome == defaultIvyCache) old
else ip.ivyHome.getOrElse(old)
else
ip.ivyHome match {
case Some(home) => home / "coursier-cache"
case _ => old
}
},
dependencyCacheDirectory := {
val st = state.value