Skip to content

Commit a8f7999

Browse files
authored
chore: copy and update PROPERTIES using widely supported syntax (#1779)
1 parent 8cbea70 commit a8f7999

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rules_java_gapic/java_gapic_pkg.bzl

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ def _wrapPropertyNamesInBraces(properties):
2525
# the version of protobuf defined in googleapis is higher than protobuf
2626
# defined in gax-java/dependencies.properties, use this replacement to
2727
# sync the two versions.
28-
SYNCED_PROPERTIES = PROPERTIES | {"version.com_google_protobuf": PROTOBUF_JAVA_VERSION}
28+
SYNCED_PROPERTIES = dict(PROPERTIES)
29+
SYNCED_PROPERTIES.update({"version.com_google_protobuf": PROTOBUF_JAVA_VERSION})
2930
_PROPERTIES = _wrapPropertyNamesInBraces(SYNCED_PROPERTIES)
3031

3132
# ========================================================================

0 commit comments

Comments
 (0)