@@ -2,7 +2,6 @@ plugins {
22 id ' java'
33 id ' org.springframework.boot' version ' 4.0.0-RC2'
44 id ' io.spring.dependency-management' version ' 1.1.7'
5- id ' org.graalvm.buildtools.native' version ' 0.10.3'
65 id ' com.google.protobuf' version ' 0.9.4'
76}
87
1716
1817repositories {
1918 mavenCentral()
20- maven { url ' https://repo.spring.io/milestone' }
19+ mavenLocal()
20+ maven { url ' https://repo.spring.io/milestone' }
2121 maven { url ' https://repo.spring.io/snapshot' }
2222}
2323
@@ -30,13 +30,14 @@ dependencyManagement {
3030dependencies {
3131 implementation ' org.springframework.grpc:spring-grpc-spring-boot-starter'
3232 implementation ' org.springframework.boot:spring-boot-starter-actuator'
33- implementation ' com.salesforce.servicelibs:reactor-grpc-stub:1.2.4'
3433 implementation ' io.projectreactor:reactor-core'
34+ implementation ' com.salesforce.servicelibs:reactor-grpc-stub:1.2.4'
3535
3636 compileOnly ' javax.annotation:javax.annotation-api:1.3.2'
3737
3838 testImplementation ' org.springframework.grpc:spring-grpc-test-spring-boot-autoconfigure'
3939 testImplementation ' org.springframework.boot:spring-boot-starter-test'
40+ testImplementation ' io.grpc:grpc-inprocess'
4041 testImplementation ' io.projectreactor:reactor-test'
4142
4243 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
@@ -50,23 +51,23 @@ test {
5051}
5152
5253protobuf {
53- protoc {
54- artifact = " com.google.protobuf:protoc:${ dependencyManagement.importedProperties['protobuf-java.version']} "
55- }
56- plugins {
57- grpc {
58- artifact = " io.grpc:protoc-gen-grpc-java:${ dependencyManagement.importedProperties['grpc.version']} "
59- }
60- reactor {
61- artifact = " com.salesforce.servicelibs:reactor-grpc:1.2.4"
62- }
63- }
64- generateProtoTasks {
65- all()* . plugins {
66- grpc {
67- option ' @generated=omit'
68- }
69- reactor {}
70- }
71- }
54+ protoc {
55+ artifact = " com.google.protobuf:protoc:${ dependencyManagement.importedProperties['protobuf-java.version']} "
56+ }
57+ plugins {
58+ grpc {
59+ artifact = " io.grpc:protoc-gen-grpc-java:${ dependencyManagement.importedProperties['grpc.version']} "
60+ }
61+ reactor {
62+ artifact = " com.salesforce.servicelibs:reactor-grpc:1.2.4"
63+ }
64+ }
65+ generateProtoTasks {
66+ all()* . plugins {
67+ grpc {
68+ option ' @generated=omit'
69+ }
70+ reactor {}
71+ }
72+ }
7273}
0 commit comments