mirror of https://github.com/sbt/sbt.git
Switch to coursier 2.0.0-RC3-2 (#116)
This commit is contained in:
parent
e0ade0d6ba
commit
63ddd4c616
|
|
@ -15,7 +15,7 @@ inThisBuild(List(
|
|||
)
|
||||
))
|
||||
|
||||
val coursierVersion0 = "2.0.0-RC3-1"
|
||||
val coursierVersion0 = "2.0.0-RC3-2"
|
||||
|
||||
lazy val `lm-coursier` = project
|
||||
// .enablePlugins(ContrabandPlugin)
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ object Shading {
|
|||
}
|
||||
|
||||
val dependencyArtifacts = res
|
||||
.dependencyArtifacts()
|
||||
.dependencyArtifacts(None, classpathOrder = false)
|
||||
.filter { case (_, attr, _) => classpathTypes(attr.`type`) }
|
||||
.groupBy(_._1)
|
||||
.mapValues(_.map(t => (t._2, t._3)))
|
||||
|
|
@ -118,7 +118,7 @@ object Shading {
|
|||
|
||||
def files(deps: Seq[Dependency]) = res
|
||||
.subset(deps)
|
||||
.dependencies
|
||||
.minDependencies
|
||||
.toSeq
|
||||
.flatMap(dependencyArtifacts.get)
|
||||
.flatten
|
||||
|
|
|
|||
Loading…
Reference in New Issue