api / org.gradle.api / NamedDomainObjectCollection / addAll

addAll

abstract fun addAll(elements: Collection<T>): Boolean

Adds any of the given objects to the collection that do not have the same name as any existing element.

Parameters

c - the items to add to the collection

Return
true if any item was added, or false if all items have non unique names within this collection.