Skip to content

Commit e45a52d

Browse files
committed
Make Google API protos optional
1 parent 6413d0b commit e45a52d

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

spring-grpc-core/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@
9494
<groupId>com.google.protobuf</groupId>
9595
<artifactId>protobuf-java</artifactId>
9696
</dependency>
97-
<dependency>
98-
<groupId>com.google.api.grpc</groupId>
99-
<artifactId>proto-google-common-protos</artifactId>
100-
</dependency>
10197
<dependency>
10298
<groupId>io.grpc</groupId>
10399
<artifactId>grpc-kotlin-stub</artifactId>

spring-grpc-dependencies/pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<grpc.version>1.74.0</grpc.version>
5353
<grpc-kotlin.version>1.4.3</grpc-kotlin.version>
5454
<protobuf-java.version>4.31.1</protobuf-java.version>
55-
<google-common-protos.version>2.54.1</google-common-protos.version>
55+
<google-common-protos.version>2.61.0</google-common-protos.version>
5656
<reactor-grpc.version>1.2.4</reactor-grpc.version>
5757
<spring-javaformat-maven-plugin.version>0.0.43</spring-javaformat-maven-plugin.version>
5858
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
@@ -102,6 +102,21 @@
102102
<type>pom</type>
103103
<scope>import</scope>
104104
</dependency>
105+
<dependency>
106+
<groupId>io.grpc</groupId>
107+
<artifactId>grpc-services</artifactId>
108+
<version>${grpc.version}</version>
109+
<exclusions>
110+
<exclusion>
111+
<groupId>com.google.protobuf</groupId>
112+
<artifactId>protobuf-java</artifactId>
113+
</exclusion>
114+
<exclusion>
115+
<groupId>com.google.api.grpc</groupId>
116+
<artifactId>proto-google-common-protos</artifactId>
117+
</exclusion>
118+
</exclusions>
119+
</dependency>
105120
<dependency>
106121
<groupId>io.grpc</groupId>
107122
<artifactId>grpc-kotlin-stub</artifactId>

0 commit comments

Comments
 (0)