Skip to content

Commit

Permalink
Removed duplicate dependencies before calling Closure
Browse files Browse the repository at this point in the history
  • Loading branch information
salmonb committed Mar 14, 2024
1 parent 4b64140 commit 97ae186
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ public Task resolve(Project project, Config config) {
// Bytecode sources will include original input sources
// as well as generated input when the jar was built
input(p, OutputTypes.BYTECODE)
));
))
// Removing any duplicate dependencies that would otherwise trigger unjustified duplicate paths detection in Closure
.distinct();

Stream<Input> jsFromJsZips = scope(project.getDependencies(), Dependency.Scope.RUNTIME)
.stream()
Expand Down

0 comments on commit 97ae186

Please sign in to comment.