mirror of https://github.com/sbt/sbt.git
Switch to coursier 2.0.0-RC2-3
This commit is contained in:
parent
1a297411b7
commit
75ac7b6ca1
|
|
@ -15,7 +15,7 @@ inThisBuild(List(
|
|||
)
|
||||
))
|
||||
|
||||
val coursierVersion0 = "2.0.0-RC2-2"
|
||||
val coursierVersion0 = "2.0.0-RC2-3"
|
||||
|
||||
lazy val `lm-coursier` = project
|
||||
// .enablePlugins(ContrabandPlugin)
|
||||
|
|
|
|||
|
|
@ -47,23 +47,24 @@ final case class ResolutionParams(
|
|||
mainRepositories ++
|
||||
fallbackDependenciesRepositories
|
||||
|
||||
lazy val resolutionKey = SbtCoursierCache.ResolutionKey(
|
||||
dependencies,
|
||||
repositories,
|
||||
copy(
|
||||
parentProjectCache = Map.empty,
|
||||
loggerOpt = None,
|
||||
cache = null, // temporary, until we can use https://github.com/coursier/coursier/pull/1090
|
||||
parallel = 0
|
||||
),
|
||||
ResolutionParams.cacheKey {
|
||||
cache
|
||||
.withPool(null)
|
||||
.withLogger(null)
|
||||
.withSync[Task](null)
|
||||
},
|
||||
sbtClassifiers
|
||||
)
|
||||
lazy val resolutionKey = {
|
||||
val cleanCache = cache
|
||||
.withPool(null)
|
||||
.withLogger(null)
|
||||
.withSync[Task](null)
|
||||
SbtCoursierCache.ResolutionKey(
|
||||
dependencies,
|
||||
repositories,
|
||||
copy(
|
||||
parentProjectCache = Map.empty,
|
||||
loggerOpt = None,
|
||||
parallel = 0,
|
||||
cache = cleanCache
|
||||
),
|
||||
ResolutionParams.cacheKey(cleanCache),
|
||||
sbtClassifiers
|
||||
)
|
||||
}
|
||||
|
||||
override lazy val hashCode =
|
||||
ResolutionParams.unapply(this).get.##
|
||||
|
|
|
|||
Loading…
Reference in New Issue