From c53e5d509ed047a1ac8ad4293a043b72099e1cbd Mon Sep 17 00:00:00 2001 From: str4d Date: Tue, 18 Nov 2014 18:31:38 +0000 Subject: [PATCH] Fix module group accessor for resolved artifacts in calculateChecksums This fixes an error with Gradle 2.+. --- src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy b/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy index 0ebc848..eb9123d 100644 --- a/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy +++ b/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy @@ -53,7 +53,7 @@ class WitnessPlugin implements Plugin { 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 " ]"