@Override
        public boolean equals(GradleTask o1, GradleTask o2) {
          return o1 == o2 || o1 != null && o2 != null &&
                             o1.getPath().equals(o2.getPath()) &&
                             isSameProject(o1.getProjectIdentifier(), o2.getProjectIdentifier());
        }
@Override
        public boolean equals(GradleTask o1, GradleTask o2)