I’m writing a plugin that creates a task for other tasks identified by the user within a configuration extension. I’m having difficulty with finding an approach that guarantees all tasks are available… at least within the
project.tasks collection. I started off with a
project.afterEvaluate closure but that’s not working in some cases. After some research it seems the another approach would be to switch to using
project.tasks.whenTaskAdded but just wanted to see if there might be another approach.