Java Code Examples for org.gradle.api.execution.TaskExecutionGraph#addTaskExecutionListener()
The following examples show how to use
org.gradle.api.execution.TaskExecutionGraph#addTaskExecutionListener() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MetricsPlugin.java From firebase-android-sdk with Apache License 2.0 | 5 votes |
@Override public void apply(Project project) { Metrics metrics = Metrics.filtered(initializeMetrics(project), MetricsPlugin::isTaskPublic); TaskExecutionGraph taskGraph = project.getGradle().getTaskGraph(); taskGraph.addTaskExecutionListener(new MeasuringTaskExecutionListener(metrics, taskGraph)); }
Example 2
Source File: InProcessGradleExecuter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void graphPopulated(TaskExecutionGraph graph) { List<Task> planned = new ArrayList<Task>(graph.getAllTasks()); graph.addTaskExecutionListener(new TaskListenerImpl(planned, executedTasks, skippedTasks)); }
Example 3
Source File: InProcessGradleExecuter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public void graphPopulated(TaskExecutionGraph graph) { List<Task> planned = new ArrayList<Task>(graph.getAllTasks()); graph.addTaskExecutionListener(new TaskListenerImpl(planned, executedTasks, skippedTasks)); }
Example 4
Source File: InProcessGradleExecuter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void graphPopulated(TaskExecutionGraph graph) { List<Task> planned = new ArrayList<Task>(graph.getAllTasks()); graph.addTaskExecutionListener(new TaskListenerImpl(planned, executedTasks, skippedTasks)); }
Example 5
Source File: InProcessGradleExecuter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public void graphPopulated(TaskExecutionGraph graph) { List<Task> planned = new ArrayList<Task>(graph.getAllTasks()); graph.addTaskExecutionListener(new TaskListenerImpl(planned, executedTasks, skippedTasks)); }