GRADLE-2957 Dependent tasks with same finalizer