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:
parent
a9902f136b
commit
d154700eef
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ class KobaltClient : Runnable {
|
||||||
val dd = Gson().fromJson(wsCommand.payload, RemoteDependencyData.GetDependenciesData::class.java)
|
val dd = Gson().fromJson(wsCommand.payload, RemoteDependencyData.GetDependenciesData::class.java)
|
||||||
println("Received dependency data for " + dd.projects.size + " projects")
|
println("Received dependency data for " + dd.projects.size + " projects")
|
||||||
dd.projects.forEach {
|
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,
|
GraphUtil.displayGraph(it.compileDependencies,
|
||||||
RemoteDependencyData.DependencyData::children,
|
RemoteDependencyData.DependencyData::children,
|
||||||
{ d: RemoteDependencyData.DependencyData, indent: String ->
|
{ d: RemoteDependencyData.DependencyData, indent: String ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue