Skip to content
Permalink
Browse files
deps: grpc-alts is only used for tests (#757)
  • Loading branch information
olavloite committed Dec 21, 2020
1 parent ee2de33 commit c8ef46f2637b58cc71d023764cdc11a7414d855f
Showing with 7 additions and 10 deletions.
  1. +7 −10 google-cloud-spanner/pom.xml
@@ -142,16 +142,6 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-alts</artifactId>
<scope>runtime</scope>
</dependency>
<!--
grpc-stub is needed directly by our tests and transitively by grpc-alts at runtime.
So it has to be declared as a direct dependency and to avoid overriding grpc-alts'
runtime requirement it has to be promoted to the runtime scope.
-->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
@@ -264,6 +254,13 @@
<scope>test</scope>
</dependency>

<!-- Test dependency for DirectPath -->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-alts</artifactId>
<scope>test</scope>
</dependency>

<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>

0 comments on commit c8ef46f

Please sign in to comment.