From d2e7e3be4e706668639c4bf356ca7069a952a504 Mon Sep 17 00:00:00 2001 From: Roman Isko Date: Fri, 28 Sep 2018 14:02:04 +0300 Subject: [PATCH] resolve only resolvable configurations --- build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c3433cc..c57e9be 100644 --- a/build.gradle +++ b/build.gradle @@ -238,6 +238,14 @@ def getPomConfiguration() { // download dependencies all at once, keeps downloads out of travis output task resolveAllDependencies { doLast { - configurations.all { it.resolve() } + configurations.all { configuration -> + if (configuration.isCanBeResolved()) { + println "Resolving $configuration" + configuration.resolve() + } + else { + println "$configuration is not resolvable" + } + } } }