Skip to content

Commit

Permalink
fix: fix dep ordering in Bazel dedupe rules (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
miraleung authored Dec 2, 2020
1 parent dea7d1e commit b2f8f12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rules_java_gapic/java_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def java_gapic_library(
)

# General additional deps.
actual_deps = resource_name_deps + [
actual_deps = deps + resource_name_deps + [
"@com_google_googleapis//google/rpc:rpc_java_proto",
"@com_google_googleapis//google/longrunning:longrunning_java_proto",
"@com_google_protobuf//:protobuf_java",
Expand All @@ -207,7 +207,6 @@ def java_gapic_library(
"@com_google_http_client_google_http_client//jar",
"@javax_annotation_javax_annotation_api//jar",
]
_append_dep_without_duplicates(actual_deps, deps)

native.java_library(
name = name,
Expand Down

0 comments on commit b2f8f12

Please sign in to comment.