mirror of https://github.com/sbt/sbt.git
Fix attempt to download an artifact several times in parallel
This commit is contained in:
parent
e2a8836d25
commit
71b3acead3
|
|
@ -546,7 +546,9 @@ class Helper(
|
||||||
subset: Set[Dependency] = null
|
subset: Set[Dependency] = null
|
||||||
): Seq[File] = {
|
): Seq[File] = {
|
||||||
|
|
||||||
val artifacts0 = artifacts(sources, javadoc, artifactTypes, subset)
|
val artifacts0 = artifacts(sources, javadoc, artifactTypes, subset).map { artifact =>
|
||||||
|
artifact.copy(attributes = Attributes())
|
||||||
|
}.distinct
|
||||||
|
|
||||||
val logger =
|
val logger =
|
||||||
if (verbosityLevel >= 0)
|
if (verbosityLevel >= 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue