Skip to content

Commit bb2a3be

Browse files
authored
fix: instantiate GaxProperties at build time to ensure we get the protobuf version (#3365)
This should not vary from the runtime version for graalvm builds. Tested: ran ITVersion tests in graalvm and printed out the header to see full value exists
1 parent a31c682 commit bb2a3be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Args = --enable-url-protocols=https,http \
22
--initialize-at-build-time=org.conscrypt,\
3-
org.junit.platform.engine.TestTag \
3+
org.junit.platform.engine.TestTag,\
4+
com.google.api.gax.core.GaxProperties,\
5+
com.google.common.base.Platform,\
6+
com.google.common.base.Platform$JdkPatternCompiler \
47
--features=com.google.api.gax.nativeimage.OpenCensusFeature,\
58
com.google.api.gax.nativeimage.GoogleJsonClientFeature \
69
--add-modules=jdk.httpserver

0 commit comments

Comments
 (0)