From 4d1be76c7807ed4c9b60f51d59ae7e23b04ef2d2 Mon Sep 17 00:00:00 2001 From: Aubrey Chipman Date: Thu, 19 Sep 2019 16:05:26 -0700 Subject: [PATCH] Mark copied configurations as non-resolvable so that we do not lock copies of BOM configurations Based off of a change to use unique configuration names when making copies: https://github.com/gradle/gradle/pull/9638/files --- .../recommender/ExtendRecommenderConfigurationAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java b/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java index 09339f6..25fc578 100644 --- a/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java +++ b/src/main/groovy/netflix/nebula/dependency/recommender/ExtendRecommenderConfigurationAction.java @@ -32,6 +32,7 @@ public void execute(Configuration configuration) { if (!project.getRootProject().equals(project)) { toExtend = bom.copy(); toExtend.setVisible(false); + toExtend.setCanBeResolved(false); project.getConfigurations().add(toExtend); } configuration.extendsFrom(toExtend);