From d197c57c553ddb3cf08be8a1e0a90ad1bfea3fb2 Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Thu, 30 May 2019 20:22:03 -0300 Subject: [PATCH] Gradle witness - Do not hide resolution errors. --- .../org/whispersystems/witness/WitnessPlugin.groovy | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/buildSrc/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy b/buildSrc/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy index 31dae7e99..be39c8fd8 100644 --- a/buildSrc/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy +++ b/buildSrc/src/main/groovy/org/whispersystems/witness/WitnessPlugin.groovy @@ -79,14 +79,6 @@ class WitnessPlugin implements Plugin { def configurationName = project.dependencyVerification.configuration project.configurations .findAll { config -> config.name =~ configurationName } - .collectMany { tryGetArtifacts(it) } - } - - private static Set tryGetArtifacts(Configuration configuration) { - try { - configuration.resolvedConfiguration.resolvedArtifacts - } catch (Exception ignored) { - [] as Set - } + .collectMany { it.resolvedConfiguration.resolvedArtifacts } } } \ No newline at end of file