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.

empty

open fun <T> empty(): AndSpec<T>(source)

Returns the shared AndSpec with no member specs, which is vacuously satisfied by every object.

Like every AndSpec, it is immutable, so it is a starting point for building a conjunction. As a member, it does not change which objects satisfy a conjunction.

Since

3.1