Skip to content

Commit

Permalink
Mark copied configurations as non-resolvable so that we do not lock c…
Browse files Browse the repository at this point in the history
…opies of BOM configurations

Based off of a change to use unique configuration names when making copies: https://github.com/gradle/gradle/pull/9638/files
  • Loading branch information
OdysseusLives committed Sep 19, 2019
1 parent 16c0615 commit 4d1be76
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d1be76

Please sign in to comment.