Skip to content

Commit

Permalink
fix: Add gax-grpc dependency for native image configurations (#688)
Browse files Browse the repository at this point in the history
* fix: add gax-grpc to bring in native image configurations
  • Loading branch information
mpeddada1 committed Apr 29, 2022
1 parent e7db3e2 commit c4fc952
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions google-cloud-compute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
</dependency>

<!-- gax-grpc brings in Protobuf reflection configurations which are needed
for native image compilation. -->
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
</dependency>

<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-httpjson</artifactId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>org.objenesis:objenesis</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>javax.annotation:javax.annotation-api</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>com.google.api:gax-grpc</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
Expand Down

0 comments on commit c4fc952

Please sign in to comment.