Search in sources :

Example 1 with TaskDependencyContainer

use of org.gradle.api.internal.tasks.TaskDependencyContainer in project gradle by gradle.

the class ActionNode method resolveDependencies.

@Override
public void resolveDependencies(TaskDependencyResolver dependencyResolver, Action<Node> processHardSuccessor) {
    TaskDependencyContainer dependencies = action::visitDependencies;
    for (Node node : dependencyResolver.resolveDependenciesFor(null, dependencies)) {
        addDependencySuccessor(node);
        processHardSuccessor.execute(node);
    }
}
Also used : TaskDependencyContainer(org.gradle.api.internal.tasks.TaskDependencyContainer)

Aggregations

TaskDependencyContainer (org.gradle.api.internal.tasks.TaskDependencyContainer)1