Skip to content

Commit

Permalink
chore: copy and update PROPERTIES using widely supported syntax (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
burkedavison authored Jun 16, 2023
1 parent 8cbea70 commit a8f7999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules_java_gapic/java_gapic_pkg.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def _wrapPropertyNamesInBraces(properties):
# the version of protobuf defined in googleapis is higher than protobuf
# defined in gax-java/dependencies.properties, use this replacement to
# sync the two versions.
SYNCED_PROPERTIES = PROPERTIES | {"version.com_google_protobuf": PROTOBUF_JAVA_VERSION}
SYNCED_PROPERTIES = dict(PROPERTIES)
SYNCED_PROPERTIES.update({"version.com_google_protobuf": PROTOBUF_JAVA_VERSION})
_PROPERTIES = _wrapPropertyNamesInBraces(SYNCED_PROPERTIES)

# ========================================================================
Expand Down

0 comments on commit a8f7999

Please sign in to comment.