Direct references to tasks from included builds

Documentation page Upgrading your build from Gradle 6.x to the latest states:

Referencing tasks from included builds

Direct references to tasks from included builds in mustRunAfter , shouldRunAfter and finalizedBy task methods have been deprecated. Task ordering using mustRunAfter and shouldRunAfter as well as finalizers specified by finalizedBy should 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.