Skip to content

Commit 79d4a11

Browse files
committed
Minor tweaks to grpc-tomcat and grpc-tomcat-secure
- update protobuf version (consistent w/ other samples) - gradle boot version updated to 4.0.0-RC2 Signed-off-by: onobc <chris.bono@gmail.com>
1 parent 2ae2006 commit 79d4a11

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

samples/grpc-tomcat-secure/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
2-
id 'java'
3-
id 'org.springframework.boot' version '3.5.5'
4-
id 'io.spring.dependency-management' version '1.1.6'
2+
id 'java'
3+
id 'org.springframework.boot' version '4.0.0-RC2'
4+
id 'io.spring.dependency-management' version '1.1.7'
55
id 'org.graalvm.buildtools.native' version '0.10.3'
66
id 'com.google.protobuf' version '0.9.4'
77
}
@@ -29,12 +29,12 @@ dependencyManagement {
2929

3030
dependencies {
3131
implementation 'org.springframework.grpc:spring-grpc-server-web-spring-boot-starter'
32-
implementation 'io.grpc:grpc-services'
33-
implementation 'org.springframework.boot:spring-boot-starter-actuator'
34-
implementation 'org.springframework.boot:spring-boot-starter-security'
35-
testImplementation 'org.springframework.boot:spring-boot-starter-test'
36-
testImplementation 'org.springframework.grpc:spring-grpc-test'
37-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
32+
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
33+
34+
testImplementation 'org.springframework.grpc:spring-grpc-test-spring-boot-autoconfigure'
35+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
36+
37+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
3838
}
3939

4040
test {

samples/grpc-tomcat-secure/pom.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<properties>
3131
<java.version>17</java.version>
3232
<spring-javaformat-maven-plugin.version>0.0.43</spring-javaformat-maven-plugin.version>
33-
<protobuf-java.version>4.31.1</protobuf-java.version>
33+
<protobuf-java.version>4.32.1</protobuf-java.version>
3434
<grpc.version>1.76.0</grpc.version>
3535
</properties>
3636
<dependencyManagement>
@@ -53,10 +53,7 @@
5353
<groupId>org.springframework.boot</groupId>
5454
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
5555
</dependency>
56-
<dependency>
57-
<groupId>io.grpc</groupId>
58-
<artifactId>grpc-services</artifactId>
59-
</dependency>
56+
6057
<dependency>
6158
<groupId>org.springframework.grpc</groupId>
6259
<artifactId>spring-grpc-test-spring-boot-autoconfigure</artifactId>

samples/grpc-tomcat/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<properties>
3131
<java.version>17</java.version>
3232
<spring-javaformat-maven-plugin.version>0.0.43</spring-javaformat-maven-plugin.version>
33-
<protobuf-java.version>4.31.1</protobuf-java.version>
33+
<protobuf-java.version>4.32.1</protobuf-java.version>
3434
<grpc.version>1.76.0</grpc.version>
3535
</properties>
3636
<dependencyManagement>

0 commit comments

Comments
 (0)