Skip to content

Commit b2f8f12

Browse files
authored
fix: fix dep ordering in Bazel dedupe rules (#582)
1 parent dea7d1e commit b2f8f12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rules_java_gapic/java_gapic.bzl

+1-2
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def java_gapic_library(
189189
)
190190

191191
# General additional deps.
192-
actual_deps = resource_name_deps + [
192+
actual_deps = deps + resource_name_deps + [
193193
"@com_google_googleapis//google/rpc:rpc_java_proto",
194194
"@com_google_googleapis//google/longrunning:longrunning_java_proto",
195195
"@com_google_protobuf//:protobuf_java",
@@ -207,7 +207,6 @@ def java_gapic_library(
207207
"@com_google_http_client_google_http_client//jar",
208208
"@javax_annotation_javax_annotation_api//jar",
209209
]
210-
_append_dep_without_duplicates(actual_deps, deps)
211210

212211
native.java_library(
213212
name = name,

0 commit comments

Comments
 (0)