mirror of https://github.com/sbt/sbt.git
convenience method on UpdateReport for extracting contents as sequence of tuples
This commit is contained in:
parent
dcc74da665
commit
69afc20bf1
|
|
@ -115,5 +115,9 @@ object UpdateReport
|
|||
}
|
||||
new UpdateReport(report.cachedDescriptor, newConfigurations)
|
||||
}
|
||||
|
||||
def toSeq: Seq[(String, ModuleID, Artifact, File)] =
|
||||
for(confReport <- report.configurations; modReport <- confReport.modules; (artifact, file) <- modReport.artifacts) yield
|
||||
(confReport.configuration, modReport.module, artifact, file)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue