Fix module group accessor for resolved artifacts in calculateChecksums

This fixes an error with Gradle 2.+.
Merge pull request #4 from str4d/master

Fix module group accessor for resolved artifacts in calculateChecksums