toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.api.specs
/
Specs
Specs
API
open
class
Specs
(
source
)
Provides a number of
org.gradle.api.specs.Spec
implementations.
Members
Constructors
Specs
Link copied to clipboard
API
constructor
(
)
Properties
SATISFIES_ALL
Link copied to clipboard
API
val
SATISFIES_ALL
:
Spec
<
Any
>
SATISFIES_NONE
Link copied to clipboard
API
val
SATISFIES_NONE
:
Spec
<
Any
>
Functions
convert
Closure
To
Spec
Link copied to clipboard
API
open
fun
<
T
>
convertClosureToSpec
(
closure
:
Closure
<
out
Any
>
)
:
Spec
<
T
>
intersect
Link copied to clipboard
API
open
fun
<
T
>
intersect
(
specs
:
Collection
<
out
Spec
<
in
T
>
>
)
:
Spec
<
T
>
@
SafeVarargs
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.
negate
Link copied to clipboard
API
open
fun
<
T
>
negate
(
spec
:
Spec
<
in
T
>
)
:
Spec
<
T
>
Returns a spec that selects everything that is not selected by the given spec.
satisfy
All
Link copied to clipboard
API
open
fun
<
T
>
satisfyAll
(
)
:
Spec
<
T
>
satisfy
None
Link copied to clipboard
API
open
fun
<
T
>
satisfyNone
(
)
:
Spec
<
T
>
union
Link copied to clipboard
API
open
fun
<
T
>
union
(
specs
:
Collection
<
out
Spec
<
in
T
>
>
)
:
Spec
<
T
>
@
SafeVarargs
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.