TaskProvider (Gradle API 4.8)
Date: 2018-06-04

org.gradle.api.tasks

## Interface TaskProvider<T extends Task>

- Type Parameters:
    `T` - Task type
  All Superinterfaces:
    Provider<T>

      @Incubating
      public interface TaskProvider<T extends Task>
      extends Provider<T>

  Providers a task of the given type.
  Since:
    4.8

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configure(Action<? super T> action)` Configures the task with the given action.

    - ### Methods inherited from interface org.gradle.api.provider.Provider

      `get, getOrElse, getOrNull, isPresent, map`

- - ### Method Detail

    - #### configure

          void configure(Action<? super T> action)

      Configures the task with the given action. Actions are run in the order added.
      Parameters:
        `action` - A `Action` that can configure the task when required.
      Since:
        4.8