Fix module group accessor for resolved artifacts

This fixes an error with Gradle 2.+.
Merge pull request #3 from friederbluemle/fix-group-accessor

Fix module group accessor for resolved artifacts