toggle menu
gradle-extensions-project
1.0.0-SNAPSHOT
jvm
switch theme
search in API
gradle-tasks-extensions
/
com.javiersc.gradle.tasks.extensions
/
maybeNamed
maybe
Named
@
JvmName
(
name
=
"maybeNamedTask"
)
fun
TaskContainer
.
maybeNamed
(
name
:
String
,
action
:
Action
<
Task
>
=
Action {}
)
:
TaskProvider
<
Task
>
?
inline
fun
<
T
:
Task
>
TaskContainer
.
maybeNamed
(
name
:
String
,
action
:
Action
<
in
T
>
=
Action {}
)
:
TaskProvider
<
T
>
?