use the launcher's cache directory by default if it is set

This commit is contained in:
Mark Harrah 2011-03-05 09:11:16 -05:00
parent 1ee5891ac9
commit d7e2f6233d
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ object Classpaths
moduleID :== normalizedName,
defaultConfiguration in GlobalScope :== Some(Configurations.Compile),
defaultConfigurationMapping in GlobalScope <<= defaultConfiguration{ case Some(d) => "*->" + d.name; case None => "*->*" },
ivyPaths <<= baseDirectory(base => new IvyPaths(base, None)),
ivyPaths <<= (baseDirectory, appConfiguration) { (base, app) => new IvyPaths(base, Option(app.provider.scalaProvider.launcher.cacheDirectory)) },
otherResolvers in GlobalScope :== Nil,
projectResolver <<= projectResolverTask,
projectDependencies <<= projectDependenciesTask,