task
inline fun <type : Task> Project.task(name: String, noinline configuration: type.() -> Unit): type(source)
Creates a Task with the given name and type, configures it with the given configuration action, and adds it to this project tasks container.
Creates a Task with the given name and type, and adds it to this project tasks container.
See also
Project. getTasks
Task Container. create
Kotlin extension function for org.gradle.api.Project.task.
See also
Project. task