Skip to content

Commit

Permalink
Topological sort jars (so that the target jar comes first)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishiking committed Dec 7, 2022
1 parent 2cc2d56 commit 2992db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala/private/phases/phase_compile.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _phase_compile(
# TODO: simplify the return values and use provider
return struct(
files = depset(out.full_jars),
rjars = depset(out.full_jars, transitive = [rjars]),
rjars = depset(out.full_jars, transitive = [rjars], order = "topological"),
merged_provider = out.merged_provider,
external_providers = {
"JavaInfo": out.merged_provider,
Expand Down

0 comments on commit 2992db9

Please sign in to comment.