component-build-plugin / com.intershop.gradle.component.build.utils.tree / Node / addChild

addChild

fun addChild(node: Node): Node

Add a child node to the current node, if the node does not exists in the list.

Parameters

node - tree node instance

Return
the node that was added or the available node