Documentation page Upgrading your build from Gradle 6.x to the latest states:
Direct references to tasks from included builds in
finalizedBytask methods have been deprecated. Task ordering using
shouldRunAfteras well as finalizers specified by
finalizedByshould be used for task ordering within a build. If you happen to have cross-build task ordering defined using above mentioned methods, consider restructuring such builds and decoupling them from one another.
This seems to be a breaking change in making which is affecting us. Can someone please explain why this was necessary and what is the recommended replacement. Cross-build task ordering in a monorepo is simply unavoidable in certain cases.