Jendrik Johannes
09/19/2025, 10:27 AMgetEventsListenerRegistry().onTaskCompletion(myServie) (full example).
Are there any other hooks like that available? Ideally I would like to force my service to start before task execution (i.e. after CC was loaded) and not just when the first task has completed.Vampire
09/19/2025, 10:37 AM.get() on the build service during configuration time to have it started if the configuration actually executes and additionally the onTaskCompletion to have it latest created after the first task finished.Vampire
09/19/2025, 10:38 AMtasks.configureEach {
doFirst {
theBuildService.get()
}
}Vampire
09/19/2025, 10:38 AMJendrik Johannes
09/22/2025, 7:37 AMonTaskCompletion .
Seems like there is not.
Maybe adding the doFirst is interesting.
Doing a get() during config phase (in addition) leads to different behavior depending on whether or not CC is used. I am not sure if I want that.Vampire
09/22/2025, 8:09 AMJendrik Johannes
12/01/2025, 3:13 PMVampire
12/01/2025, 3:26 PMJendrik Johannes
12/01/2025, 3:36 PMOperationCompletionListener " does not make much sense to me.Jendrik Johannes
12/01/2025, 3:36 PMVampire
12/01/2025, 3:43 PMAutoCloaseable and registered as completion listener, it can be used for some "after build action" for which then flow actions were invented as a successor with more potential for other flow points.