lm-coursier-shaded 2.0.0

Uses Coursier 2.0.0
This commit is contained in:
Eugene Yokota 2020-10-02 23:07:27 -04:00
parent aa91a1b304
commit 6662b2cf99
2 changed files with 1 additions and 8 deletions

View File

@ -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
}

View File

@ -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