GRADLE-2837: Ensure that a dependency project is fully evaluated before it is used by a referencing project in publishing