- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for beforeTask (0.13 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) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m3/ToolingApiEclipseModelCrossVersionSpec.groovy
fullProject.projectDependencies.empty } def "does not run any tasks when fetching model"() { when: projectDir.file('build.gradle').text = ''' apply plugin: 'java' gradle.taskGraph.beforeTask { throw new RuntimeException() } ''' HierarchicalEclipseProject project = loadToolingModel(HierarchicalEclipseProject) then: project != null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.4K bytes - Viewed (0)