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