mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
use the launcher's cache directory by default if it is set
This commit is contained in:
+1
-1
@@ -417,7 +417,7 @@ object Classpaths
|
|||||||
moduleID :== normalizedName,
|
moduleID :== normalizedName,
|
||||||
defaultConfiguration in GlobalScope :== Some(Configurations.Compile),
|
defaultConfiguration in GlobalScope :== Some(Configurations.Compile),
|
||||||
defaultConfigurationMapping in GlobalScope <<= defaultConfiguration{ case Some(d) => "*->" + d.name; case None => "*->*" },
|
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,
|
otherResolvers in GlobalScope :== Nil,
|
||||||
projectResolver <<= projectResolverTask,
|
projectResolver <<= projectResolverTask,
|
||||||
projectDependencies <<= projectDependenciesTask,
|
projectDependencies <<= projectDependenciesTask,
|
||||||
|
|||||||
Reference in New Issue
Block a user