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

Display plug-in dependencies in KobaltClient.

This commit is contained in:
Cedric Beust 2017-02-20 06:54:09 -08:00
parent 3215280d92
commit 90d582a1c5

View file

@ -64,6 +64,9 @@ class KobaltClient : Runnable {
if (wsCommand.commandName == RemoteDependencyData.GetDependenciesData.NAME) {
val dd = Gson().fromJson(wsCommand.payload, RemoteDependencyData.GetDependenciesData::class.java)
println("Received dependency data for " + dd.projects.size + " projects")
if (dd.pluginDependencies.any()) {
println(" Plug-ins: " + dd.pluginDependencies.map { it.path }.joinToString(" "))
}
dd.projects.forEach {
println(" === Project: " + it.name)
if (dd.pluginDependencies.any()) {