Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from friederbluemle/fix-group-accessor
Browse files Browse the repository at this point in the history
Fix module group accessor for resolved artifacts
  • Loading branch information
moxie0 committed Nov 6, 2014
2 parents afdb587 + eb9ab28 commit 232f487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WitnessPlugin implements Plugin<Project> {
String hash = parts.get(2)

ResolvedArtifact dependency = project.configurations.compile.resolvedConfiguration.resolvedArtifacts.find {
return it.name.equals(name) && it.resolvedDependency.moduleGroup.equals(group)
return it.name.equals(name) && it.moduleVersion.id.group.equals(group)
}

println "Verifying " + group + ":" + name
Expand Down

0 comments on commit 232f487

Please sign in to comment.