mirror of https://github.com/sbt/sbt.git
parent
aa91a1b304
commit
6662b2cf99
|
|
@ -37,17 +37,10 @@ object LMCoursier {
|
|||
private[this] val credentialRegistry: ConcurrentHashMap[(String, String), IvyCredentials] =
|
||||
new ConcurrentHashMap
|
||||
|
||||
private[this] lazy val checkLegacyCache: Unit = {
|
||||
// This warns if ~/.coursier/cache is found.
|
||||
// Temporary, remove when updating coursier to 2.0.0 final.
|
||||
lmcoursier.CoursierConfiguration.checkLegacyCache()
|
||||
}
|
||||
|
||||
def defaultCacheLocation: File =
|
||||
sys.props.get("sbt.coursier.home") match {
|
||||
case Some(home) => new File(home).getAbsoluteFile / "cache"
|
||||
case _ =>
|
||||
checkLegacyCache
|
||||
CoursierDependencyResolution.defaultCacheLocation
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ object Dependencies {
|
|||
def addSbtZincCompile = addSbtModule(sbtZincPath, "zincCompileJVM2_12", zincCompile)
|
||||
def addSbtZincCompileCore = addSbtModule(sbtZincPath, "zincCompileCoreJVM2_12", zincCompileCore)
|
||||
|
||||
val lmCoursierShaded = "io.get-coursier" %% "lm-coursier-shaded" % "2.0.0-RC6-9"
|
||||
val lmCoursierShaded = "io.get-coursier" %% "lm-coursier-shaded" % "2.0.0"
|
||||
|
||||
def sjsonNew(n: String) =
|
||||
Def.setting("com.eed3si9n" %% n % "0.9.0") // contrabandSjsonNewVersion.value
|
||||
|
|
|
|||
Loading…
Reference in New Issue