gradle
8.2-milestone-1
Kotlin DSL
gradle
/
org.gradle.api.specs
/
Specs
Specs
open
class
Specs
Provides a number of
org.gradle.api.specs.Spec
implementations.
Members
Constructors
Specs
Link copied to clipboard
constructor
(
)
Functions
convert
Closure
To
Spec
Link copied to clipboard
open
fun
<
T
>
convertClosureToSpec
(
closure
:
Closure
<
out
Any
>
)
:
Spec
<
T
>
intersect
Link copied to clipboard
open
fun
<
T
>
intersect
(
specs
:
Collection
<
out
Spec
<
out
Any
>
>
)
:
Spec
<
T
>
@
SafeVarargs
open
fun
<
T
>
intersect
(
specs
:
Array
<
Spec
<
out
Any
>
>
)
:
Spec
<
T
>
Returns a spec that selects the intersection of those items selected by the given specs.
negate
Link copied to clipboard
open
fun
<
T
>
negate
(
spec
:
Spec
<
out
Any
>
)
:
Spec
<
T
>
Returns a spec that selects everything that is not selected by the given spec.
satisfy
All
Link copied to clipboard
open
fun
<
T
>
satisfyAll
(
)
:
Spec
<
T
>
satisfy
None
Link copied to clipboard
open
fun
<
T
>
satisfyNone
(
)
:
Spec
<
T
>
union
Link copied to clipboard
open
fun
<
T
>
union
(
specs
:
Collection
<
out
Spec
<
out
Any
>
>
)
:
Spec
<
T
>
@
SafeVarargs
open
fun
<
T
>
union
(
specs
:
Array
<
Spec
<
out
Any
>
>
)
:
Spec
<
T
>
Returns a spec that selects the union of those items selected by the provided spec.
Properties
SATISFIES_ALL
Link copied to clipboard
val
SATISFIES_ALL
:
Spec
<
Any
>
SATISFIES_NONE
Link copied to clipboard
val
SATISFIES_NONE
:
Spec
<
Any
>