mirror of https://github.com/sbt/sbt.git
Synchronize dependencyTree console output
This commit is contained in:
parent
2f792b1355
commit
27cec84333
|
|
@ -147,8 +147,9 @@ object DependencyTreeSettings {
|
||||||
.asciiTree(GraphTransformations.reverseGraphStartingAt(graph, module), graphWidth)
|
.asciiTree(GraphTransformations.reverseGraphStartingAt(graph, module), graphWidth)
|
||||||
}
|
}
|
||||||
.mkString("\n")
|
.mkString("\n")
|
||||||
|
synchronized {
|
||||||
streams.value.log.info(output)
|
streams.value.log.info(output)
|
||||||
|
}
|
||||||
output
|
output
|
||||||
},
|
},
|
||||||
) ++
|
) ++
|
||||||
|
|
@ -171,7 +172,9 @@ object DependencyTreeSettings {
|
||||||
key := {
|
key := {
|
||||||
val s = streams.value
|
val s = streams.value
|
||||||
val str = (key / asString).value
|
val str = (key / asString).value
|
||||||
s.log.info(str)
|
synchronized {
|
||||||
|
s.log.info(str)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
key / toFile := {
|
key / toFile := {
|
||||||
val (targetFile, force) = targetFileAndForceParser.parsed
|
val (targetFile, force) = targetFileAndForceParser.parsed
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue