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

create

inline fun <reified 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.