@groovy.transform.CompileStatic abstract class TaskToolsProxy extends Object
Non-Gradle API-specific common code from org.ysb33r.grolifant.api.core.TaskTools.
| Modifiers | Name | Description |
|---|---|---|
protected org.ysb33r.grolifant.api.core.ProjectOperations |
projectOperations |
|
protected ProviderFactory |
providerFactory |
|
protected TaskContainer |
tasks |
| Constructor and description |
|---|
protected TaskToolsProxy
(org.ysb33r.grolifant.api.core.ProjectOperations incompleteReference, Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
createTaskInputsFileEntry(TaskInputFilePropertyBuilder inputsBuilder, java.util.List<TaskInputFileOptions> options)Creates an input to a task that is based upon a cooleciton of files. |
|
void |
inputFiles(TaskInputs inputs, Object files, TaskInputFileOptions... options)Configure a collection of files as a task input. |
|
void |
inputFiles(TaskInputs inputs, Object files, PathSensitivity ps, TaskInputFileOptions... options)Configure a collection of files as a task input. |
|
protected boolean |
isTaskProvider(Object o)Whether this is a {@code TaskProvider |
|
Provider<? extends Task> |
taskProviderFrom(TaskContainer tasks1, ProviderFactory pf, Object o)Creates a basic task Provider instance from an object. |
|
Provider<? extends Task> |
taskProviderFrom(Object o)Creates a basic task Provider instance from an object. |
|
Provider<java.util.List<? extends Task>> |
taskize(Object... taskies)Resolves a list of many objects to tasks items to a provider of tasks. |
|
Provider<java.util.List<? extends Task>> |
taskize(Iterable<Object> taskies)Resolves a list of many objects to tasks items to a provider of tasks. |
Creates an input to a task that is based upon a cooleciton of files.
inputsBuilder - The property builderoptions - Additional options to assign to the task.
Some options might be ignored, depending on the version of Gradle.Configure a collection of files as a task input.
inputs - The inputs for a specific task.files - The inputs for a specific task.options - Various additional options to set.
Some might be ignored, depending on the version of Gradle.Configure a collection of files as a task input.
inputs - The inputs for a specific task.files - The inputs for a specific task.ps - The PathSensitivity of the file collectionoptions - Various additional options to set.
Some might be ignored, depending on the version of Gradle. Whether this is a TaskProvider<?>.
o - Object to evaluatetrue is an instance of TaskProvider.Creates a basic task Provider instance from an object.
tasks - Override the task containerto use.pf - Override the provider factory to use.o - Object to be evaluated to a task.Creates a basic task Provider instance from an object.
o - Object to be evaluated to a task.Resolves a list of many objects to tasks items to a provider of tasks.
taskies - Things that can be converted to Task or TaskProvider