How to configure tasks from my plugin after user code has configured


I’m trying to develop a set of gradle plugins to make builds easier to manage for our group. In one of these, I need to use the group, name, and version to automatically configure some artifacts (similar to how the Application plugin will use these to produce the jar file). However, at the time my plugin runs and creates tasks, the has not yet been set. I have worked around this such that I compute the required value at execution time vs. configuration time, however I find this unsatisfactory because if somebody changes the value, it will not necessarily trigger my task to re-execute!

What is the appropriate way to go about this?