For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

OrSpec

constructor()(source)

Creates a spec with no member specs, which is satisfied by every object.

Since

3.0

See also


constructor(specs: Array<Spec<in T>>)(source)

Creates a spec with the given member specs, in order.

Since

0.7


constructor(specs: Iterable<out Spec<in T>>)(source)

Creates a spec with the member specs of the given iterable, in iteration order.

Since

1.3