# task

inline fun ERROR CLASS: Symbol not found for org.gradle.api.Project.task(name: String, vararg args: Pair<String, Any>): ERROR CLASS: Symbol not found for org.gradle.api.Task(source)
inline fun ERROR CLASS: Symbol not found for org.gradle.api.Project.task(name: String, vararg args: Pair<String, Any>): ERROR CLASS: Symbol not found for org.gradle.api.Task(source)

### Deprecated

Deprecated Gradle API

Kotlin extension function for org.gradle.api.Project.task.

#### See also

org.gradle.api.Project.task

inline fun <type : ERROR CLASS: Symbol not found for Task> ERROR CLASS: Symbol not found for Project.task(name: String, noinline configuration: type.() -> Unit): ERROR CLASS: Ambiguity: task, [org/gradle/kotlin/dsl/task, org/gradle/kotlin/dsl/task, org/gradle/kotlin/dsl/task, org/gradle/kotlin/dsl/task](source)

### Deprecated

Use tasks.register instead

#### Replace with

    tasks.register<type>(name, configuration)

Content copied to clipboard

Creates a Task with the given name and type, configures it with the given configuration action, and adds it to this project tasks container.

inline fun <type : ERROR CLASS: Symbol not found for Task> ERROR CLASS: Symbol not found for Project.task(name: String): ERROR CLASS: Ambiguity: create, [org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create](source)

### Deprecated

Use tasks.register instead

#### Replace with

    tasks.register<type>(name)

Content copied to clipboard

Creates a Task with the given name and type, and adds it to this project tasks container.

#### See also

Project.getTasks
TaskContainer.create

fun <T : ERROR CLASS: Symbol not found for Task> ERROR CLASS: Symbol not found for Project.task(name: String, type: KClass<T>, configuration: T.() -> Unit): ERROR CLASS: Ambiguity: create, [org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create, org/gradle/kotlin/dsl/create](source)

### Deprecated

Use tasks.register instead

#### Replace with

    tasks.register(name, type, configuration)

Content copied to clipboard