boolean (@Nullable GradleModuleVersion version1, @Nullable GradleModuleVersion version2) { return version1 == version2 || version1 != null && version2 != null && nullsafeEqual(version1.getName(), version2.getName()) && nullsafeEqual(version1.getGroup(), version2.getGroup()) && nullsafeEqual(version1.getVersion(), version2.getVersion()); }