api / org.gradle.api.file / FileCollection / add

add

abstract fun add(collection: FileCollection): FileCollection

Adds another collection to this collection. This is an optional operation.

Parameters

collection - The collection to add.

Exceptions

UnsupportedOperationException - When this collection does not allow modification.

Return
This