I’m setting it to run after uploadArchives, but I’m not sure where that is applied… it may not be applied to the root project at all.
In the test case I have, it is applied there, but that one gets called first, then the uploadArchives tasks for the subprojects, so only applying this at the root will make it get called after the first instance, not the last.