File tree Expand file tree Collapse file tree 5 files changed +21
-19
lines changed
main/java/org/springframework/grpc/sample
test/java/org/springframework/grpc/sample
spring-grpc-server-web-spring-boot-starter Expand file tree Collapse file tree 5 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 11plugins {
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-RC1 '
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}
@@ -28,13 +28,14 @@ dependencyManagement {
2828}
2929
3030dependencies {
31- 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 ' io.micrometer:micrometer-tracing-bridge-otel'
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'
31+ implementation ' org.springframework.grpc:spring-grpc-server-web-spring-boot-starter'
32+ implementation ' org.springframework.boot:spring-boot-starter-actuator'
33+ implementation ' io.micrometer:micrometer-tracing-bridge-otel'
34+
35+ testImplementation ' org.springframework.grpc:spring-grpc-test-spring-boot-autoconfigure'
36+ testImplementation ' org.springframework.boot:spring-boot-starter-test'
37+
38+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
3839}
3940
4041test {
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >org.springframework.boot</groupId >
88 <artifactId >spring-boot-starter-parent</artifactId >
9- <version >3.5.5 </version >
9+ <version >4.0.0-RC1 </version >
1010 <relativePath /> <!-- lookup parent from repository -->
1111 </parent >
1212 <groupId >org.springframework.grpc</groupId >
4949 <groupId >org.springframework.grpc</groupId >
5050 <artifactId >spring-grpc-server-web-spring-boot-starter</artifactId >
5151 </dependency >
52- <dependency >
53- <groupId >io.grpc</groupId >
54- <artifactId >grpc-services</artifactId >
55- </dependency >
5652 <dependency >
5753 <groupId >org.springframework.boot</groupId >
5854 <artifactId >spring-boot-starter-actuator</artifactId >
6460
6561 <dependency >
6662 <groupId >org.springframework.grpc</groupId >
67- <artifactId >spring-grpc-test</artifactId >
63+ <artifactId >spring-grpc-test-spring-boot-autoconfigure</artifactId >
64+ <scope >test</scope >
65+ </dependency >
66+ <dependency >
67+ <groupId >org.springframework.boot</groupId >
68+ <artifactId >spring-boot-starter-test</artifactId >
6869 <scope >test</scope >
6970 </dependency >
7071 </dependencies >
Original file line number Diff line number Diff line change 44import org .apache .coyote .http2 .Http2Protocol ;
55import org .springframework .boot .SpringApplication ;
66import org .springframework .boot .autoconfigure .SpringBootApplication ;
7- import org .springframework .boot .web . embedded . tomcat .TomcatConnectorCustomizer ;
7+ import org .springframework .boot .tomcat .TomcatConnectorCustomizer ;
88import org .springframework .context .annotation .Bean ;
99
1010@ SpringBootApplication
Original file line number Diff line number Diff line change 77import org .junit .jupiter .api .Test ;
88import org .springframework .beans .factory .annotation .Autowired ;
99import org .springframework .boot .builder .SpringApplicationBuilder ;
10+ import org .springframework .boot .grpc .test .autoconfigure .LocalGrpcPort ;
1011import org .springframework .boot .test .context .SpringBootTest ;
1112import org .springframework .boot .test .context .TestConfiguration ;
1213import org .springframework .context .annotation .Bean ;
1516import org .springframework .grpc .sample .proto .HelloReply ;
1617import org .springframework .grpc .sample .proto .HelloRequest ;
1718import org .springframework .grpc .sample .proto .SimpleGrpc ;
18- import org .springframework .grpc .test .LocalGrpcPort ;
1919import org .springframework .test .annotation .DirtiesContext ;
2020
2121@ SpringBootTest (webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT ,
Original file line number Diff line number Diff line change 2121 </dependency >
2222 <dependency >
2323 <groupId >org.springframework.grpc</groupId >
24- <artifactId >spring-grpc-server-spring-boot-autoconfigure </artifactId >
24+ <artifactId >spring-grpc-server-spring-boot-starter </artifactId >
2525 </dependency >
2626 <dependency >
2727 <groupId >io.grpc</groupId >
You can’t perform that action at this time.
0 commit comments