Search in sources :

Example 1 with TaskSelector

use of org.gradle.execution.TaskSelector in project gradle by gradle.

the class Help method printTaskHelp.

private void printTaskHelp(StyledTextOutput output) {
    TaskSelector selector = getTaskSelector();
    TaskSelection selection = selector.getSelection(taskPath);
    OptionReader optionReader = getOptionReader();
    TaskDetailPrinter taskDetailPrinter = new TaskDetailPrinter(taskPath, selection, optionReader);
    taskDetailPrinter.print(output);
}
Also used : TaskSelection(org.gradle.execution.TaskSelection) OptionReader(org.gradle.api.internal.tasks.options.OptionReader) TaskSelector(org.gradle.execution.TaskSelector)

Aggregations

OptionReader (org.gradle.api.internal.tasks.options.OptionReader)1 TaskSelection (org.gradle.execution.TaskSelection)1 TaskSelector (org.gradle.execution.TaskSelector)1