api / org.gradle.api.specs / AndSpec / and

and

open fun and(vararg specs: Spec<in T>): AndSpec<T>
open fun and(spec: Closure<Any>): AndSpec<T> @Incubating open fun and(spec: Spec<in T>): AndSpec<T>

Typed and() method for a single Spec.

Since
4.3