- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for beforeTask (0.14 sec)
-
subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java
} @Override public void beforeTask(final Closure closure) { notifyListenerRegistration("TaskExecutionGraph.beforeTask", closure); taskListeners.add(new ClosureBackedMethodInvocationDispatch("beforeExecute", closure)); } @Override public void beforeTask(final Action<Task> action) { notifyListenerRegistration("TaskExecutionGraph.beforeTask", action);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 15.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy
} def action = Mock(Action) final Task a = task("a") final Task b = task("b") when: taskGraph.beforeTask(closure) taskGraph.beforeTask(action) taskExecutionListeners.source.beforeExecute(a) taskExecutionListeners.source.beforeExecute(b) then: 1 * closure.call(a) 1 * closure.call(b)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0)