1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Better KobaltClient display.

This commit is contained in:
Cedric Beust 2017-02-17 13:44:20 -08:00
parent a9902f136b
commit d154700eef

View file

@ -65,7 +65,10 @@ class KobaltClient : Runnable {
val dd = Gson().fromJson(wsCommand.payload, RemoteDependencyData.GetDependenciesData::class.java)
println("Received dependency data for " + dd.projects.size + " projects")
dd.projects.forEach {
println(" " + it.name)
println(" === Project: " + it.name)
if (dd.pluginDependencies.any()) {
println(" Plug-in dependencies: " + dd.pluginDependencies.joinToString(" "))
}
GraphUtil.displayGraph(it.compileDependencies,
RemoteDependencyData.DependencyData::children,
{ d: RemoteDependencyData.DependencyData, indent: String ->