Skip to content

Commit

Permalink
fix: instantiate GaxProperties at build time to ensure we get the pro…
Browse files Browse the repository at this point in the history
…tobuf 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
  • Loading branch information
ldetmer authored Nov 13, 2024
1 parent a31c682 commit bb2a3be
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Args = --enable-url-protocols=https,http \
--initialize-at-build-time=org.conscrypt,\
org.junit.platform.engine.TestTag \
org.junit.platform.engine.TestTag,\
com.google.api.gax.core.GaxProperties,\
com.google.common.base.Platform,\
com.google.common.base.Platform$JdkPatternCompiler \
--features=com.google.api.gax.nativeimage.OpenCensusFeature,\
com.google.api.gax.nativeimage.GoogleJsonClientFeature \
--add-modules=jdk.httpserver

0 comments on commit bb2a3be

Please sign in to comment.