From d7e2f6233d3aef34c15062fb1b980142952170f6 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sat, 5 Mar 2011 09:11:16 -0500 Subject: [PATCH] use the launcher's cache directory by default if it is set --- main/Default.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Default.scala b/main/Default.scala index 41cd9f8e1..73229a09a 100755 --- a/main/Default.scala +++ b/main/Default.scala @@ -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,