api / org.gradle.api.specs / Specs / union

union

@SafeVarargs open static fun <T : Any> union(vararg specs: Spec<in T>): Spec<T>
open static fun <T : Any> union(specs: MutableCollection<out Spec<in T>>): Spec<T>

Returns a spec that selects the union of those items selected by the provided spec. Selects everything when no specs provided.