Skip to content

Commit c8ef46f

Browse files
authored
deps: grpc-alts is only used for tests (#757)
1 parent ee2de33 commit c8ef46f

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

google-cloud-spanner/pom.xml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,6 @@
142142
<groupId>io.grpc</groupId>
143143
<artifactId>grpc-protobuf</artifactId>
144144
</dependency>
145-
<dependency>
146-
<groupId>io.grpc</groupId>
147-
<artifactId>grpc-alts</artifactId>
148-
<scope>runtime</scope>
149-
</dependency>
150-
<!--
151-
grpc-stub is needed directly by our tests and transitively by grpc-alts at runtime.
152-
So it has to be declared as a direct dependency and to avoid overriding grpc-alts'
153-
runtime requirement it has to be promoted to the runtime scope.
154-
-->
155145
<dependency>
156146
<groupId>io.grpc</groupId>
157147
<artifactId>grpc-stub</artifactId>
@@ -264,6 +254,13 @@
264254
<scope>test</scope>
265255
</dependency>
266256

257+
<!-- Test dependency for DirectPath -->
258+
<dependency>
259+
<groupId>io.grpc</groupId>
260+
<artifactId>grpc-alts</artifactId>
261+
<scope>test</scope>
262+
</dependency>
263+
267264
<!-- Need testing utility classes for generated gRPC clients tests -->
268265
<dependency>
269266
<groupId>com.google.api</groupId>

0 commit comments

Comments
 (0)