Merge branch '1.1.x'

This commit is contained in:
Andy Wilkinson
2014-10-01 19:20:28 +01:00
7 changed files with 67 additions and 11 deletions

View File

@@ -199,6 +199,23 @@ class ProjectLibraries implements Libraries {
return name;
}
@Override
public int hashCode() {
return getFile().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj instanceof GradleLibrary) {
return getFile().equals(((GradleLibrary) obj).getFile());
}
return false;
}
@Override
public String toString() {
return getFile().getAbsolutePath();
}
}
/**