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

Commit

Permalink
Fix module group accessor for resolved artifacts in calculateChecksums
Browse files Browse the repository at this point in the history
This fixes an error with Gradle 2.+.
  • Loading branch information
str4d committed Nov 18, 2014
1 parent 232f487 commit c53e5d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class WitnessPlugin implements Plugin<Project> {

project.configurations.compile.resolvedConfiguration.resolvedArtifacts.each {
dep ->
println " '" + dep.resolvedDependency.moduleGroup+ ":" + dep.name + ":" + calculateSha256(dep.file) + "',"
println " '" + dep.moduleVersion.id.group+ ":" + dep.name + ":" + calculateSha256(dep.file) + "',"
}

println " ]"
Expand Down

0 comments on commit c53e5d5

Please sign in to comment.