api / org.gradle.kotlin.dsl / org.gradle.api.tasks.TaskContainer

Extensions for org.gradle.api.tasks.TaskContainer

create

fun <T : Task> TaskContainer.create(name: String, vararg arguments: Any): T

Creates a Task with the given name and type, passing the given arguments to the javax.inject.Inject-annotated constructor, and adds it to this project tasks container.