public static class TaskFactory.Dispatcher.ForApi49CapableGradle extends Object implements TaskFactory.Dispatcher
TaskFactory.Dispatcher.ForApi49CapableGradle, TaskFactory.Dispatcher.ForLegacyGradle| Modifier | Constructor and Description |
|---|---|
protected |
ForApi49CapableGradle(Method register,
Method get)
Creates a new dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
create(TaskContainer tasks,
String name,
Class<? extends Task> type)
Creates a task of the supplied type within the supplied task container.
|
public Task create(TaskContainer tasks, String name, Class<? extends Task> type)
create in interface TaskFactory.Dispatchertasks - The task container to use.name - The name of the task to create.type - The type of the task to create.