Specs

open class Specs(source)

Provides a number of org.gradle.api.specs.Spec implementations.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun <T> convertClosureToSpec(closure: Closure<out Any>): Spec<T>
Link copied to clipboard
open fun <T> intersect(specs: Collection<out Spec<in T>>): Spec<T>
open fun <T> intersect(specs: Array<Spec<in T>>): Spec<T>
Returns a spec that selects the intersection of those items selected by the given specs.
Link copied to clipboard
open fun <T> negate(spec: Spec<in T>): Spec<T>
Returns a spec that selects everything that is not selected by the given spec.
Link copied to clipboard
open fun <T> satisfyAll(): Spec<T>
Link copied to clipboard
open fun <T> satisfyNone(): Spec<T>
Link copied to clipboard
open fun <T> union(specs: Collection<out Spec<in T>>): Spec<T>
open fun <T> union(specs: Array<Spec<in T>>): Spec<T>
Returns a spec that selects the union of those items selected by the provided spec.