changeset 2503:ef63c4afe404

Not all are resolvable or consumable.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 17 Jan 2021 17:48:27 +0200
parents 45513923d474
children e101133a8a62
files gradle.rst
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gradle.rst	Sun Jan 17 17:45:23 2021 +0200
+++ b/gradle.rst	Sun Jan 17 17:48:27 2021 +0200
@@ -345,6 +345,12 @@
 
   configurations.each { println it.name }
 
+There is a hierarchy of configurations, not all are resolvable or consumable::
+
+  configurations.each {
+    logger.lifecycle(String.format("%s, resolvable: %s, consumable: %s", it, it.canBeResolved, it.canBeConsumed))
+  }
+
 For each configuration ``build<ConfigurationName>`` and ``upload<ConfigurationName>`` are defined.
 
 Configuring external dependencies