Changed ArtifactResolver to accept a Gradle artifact type instead of an Ivy artifact type.
Fixed test so that it is independent of whatever happens to be cached locally.