toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.language
/
BinaryProvider
Binary
Provider
API
interface
BinaryProvider
<
T
>
:
Provider
<
T
>
(
source
)
Represents a binary that is created and configured as required.
Since
4.5
Parameters
<T>
The type of binary.
Members
Functions
configure
Link copied to clipboard
API
abstract
fun
configure
(
action
:
Action
<
in
T
>
)
Registers an action to execute to configure the binary.
filter
Link copied to clipboard
API
abstract
fun
filter
(
spec
:
Spec
<
in
T
>
)
:
Provider
<
T
>
flat
Map
Link copied to clipboard
API
abstract
fun
<
S
>
flatMap
(
transformer
:
Transformer
<
out
@
Nullable
Provider
<
out
S
>
,
in
T
>
)
:
Provider
<
S
>
for
Use
At
Configuration
Time
Link copied to clipboard
API
abstract
fun
forUseAtConfigurationTime
(
)
:
Provider
<
T
>
get
Link copied to clipboard
API
abstract
fun
get
(
)
:
T
get
Or
Else
Link copied to clipboard
API
abstract
fun
getOrElse
(
defaultValue
:
T
)
:
T
get
Or
Null
Link copied to clipboard
API
abstract
fun
getOrNull
(
)
:
T
is
Present
Link copied to clipboard
API
abstract
fun
isPresent
(
)
:
Boolean
map
Link copied to clipboard
API
abstract
fun
<
S
>
map
(
transformer
:
Transformer
<
out
@
Nullable
S
,
in
T
>
)
:
Provider
<
S
>
or
Else
Link copied to clipboard
API
abstract
fun
orElse
(
value
:
T
)
:
Provider
<
T
>
when
Finalized
Link copied to clipboard
API
abstract
fun
whenFinalized
(
action
:
Action
<
in
T
>
)
Registers an action to execute when the binary has been configured.
zip
Link copied to clipboard
API
abstract
fun
<
U
,
R
>
zip
(
right
:
Provider
<
U
>
,
combiner
:
BiFunction
<
in
T
,
in
U
,
out
@
Nullable
R
>
)
:
Provider
<
R
>