diff --git a/README.md b/README.md index 48d7e19..79ab7d9 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To create a simple gRPC server, you can use the Spring Boot starter. For Maven: ```xml org.springframework.grpc - spring-grpc-spring-boot-autoconfigure + spring-grpc-spring-boot-starter 0.1.0-SNAPSHOT ``` @@ -23,7 +23,7 @@ To create a simple gRPC server, you can use the Spring Boot starter. For Maven: or for Gradle: ```groovy -implementation 'org.springframework.grpc:spring-grpc-spring-boot-autoconfigure:0.1.0-SNAPSHOT' +implementation 'org.springframework.grpc:spring-grpc-spring-boot-starter:0.1.0-SNAPSHOT' ``` For convenience, you can use the Spring gRPC BOM to manage dependencies. With Maven: @@ -131,4 +131,4 @@ The docs are then in the directory `spring-grpc-docs/target/antora/site/index.ht To reformat using the [java-format plugin](https://github.com/spring-io/spring-javaformat) ```shell ./mvnw spring-javaformat:apply -``` \ No newline at end of file +``` diff --git a/pom.xml b/pom.xml index 32623ae..cdfda9c 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,7 @@ spring-grpc-core spring-grpc-test spring-grpc-spring-boot-autoconfigure + spring-grpc-spring-boot-starter samples diff --git a/samples/grpc-server/build.gradle b/samples/grpc-server/build.gradle index 91d4fce..e684ddd 100644 --- a/samples/grpc-server/build.gradle +++ b/samples/grpc-server/build.gradle @@ -29,7 +29,7 @@ dependencyManagement { } dependencies { - implementation 'org.springframework.grpc:spring-grpc-spring-boot-autoconfigure' + implementation 'org.springframework.grpc:spring-grpc-spring-boot-starter' implementation 'io.grpc:grpc-services' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.grpc:spring-grpc-test' diff --git a/samples/grpc-server/pom.xml b/samples/grpc-server/pom.xml index 1f51aad..29ed966 100644 --- a/samples/grpc-server/pom.xml +++ b/samples/grpc-server/pom.xml @@ -47,7 +47,7 @@ org.springframework.grpc - spring-grpc-spring-boot-autoconfigure + spring-grpc-spring-boot-starter io.grpc diff --git a/spring-grpc-bom/pom.xml b/spring-grpc-bom/pom.xml index def30d1..5bcf109 100644 --- a/spring-grpc-bom/pom.xml +++ b/spring-grpc-bom/pom.xml @@ -26,27 +26,28 @@ - org.springframework.grpc spring-grpc-core ${project.version} - + + org.springframework.grpc + spring-grpc-spring-boot-autoconfigure + ${project.version} + + + org.springframework.grpc + spring-grpc-spring-boot-starter + ${project.version} + org.springframework.grpc spring-grpc-test ${project.version} - - - org.springframework.grpc - spring-grpc-spring-boot-autoconfigure - ${project.version} - - - \ No newline at end of file + diff --git a/spring-grpc-docs/pom.xml b/spring-grpc-docs/pom.xml index 7cc9f34..1c39dab 100644 --- a/spring-grpc-docs/pom.xml +++ b/spring-grpc-docs/pom.xml @@ -21,7 +21,7 @@ org.springframework.grpc - spring-grpc-spring-boot-autoconfigure + spring-grpc-spring-boot-starter ${project.version} diff --git a/spring-grpc-spring-boot-autoconfigure/pom.xml b/spring-grpc-spring-boot-autoconfigure/pom.xml index 4bf1c0f..4c5211d 100644 --- a/spring-grpc-spring-boot-autoconfigure/pom.xml +++ b/spring-grpc-spring-boot-autoconfigure/pom.xml @@ -39,27 +39,33 @@ true - org.springframework.grpc spring-grpc-core - ${project.parent.version} - - - org.springframework.boot - spring-boot-starter + ${project.version} + true io.grpc grpc-netty-shaded true + + io.netty + netty-transport-native-epoll + true + + + org.springframework.boot + spring-boot-starter + provided + org.springframework.grpc spring-grpc-test - ${project.parent.version} + ${project.version} test diff --git a/spring-grpc-spring-boot-starter/pom.xml b/spring-grpc-spring-boot-starter/pom.xml new file mode 100644 index 0000000..ff8902e --- /dev/null +++ b/spring-grpc-spring-boot-starter/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + + org.springframework.grpc + spring-grpc + 0.1.0-SNAPSHOT + + spring-grpc-spring-boot-starter + jar + Spring gRPC Spring Boot Starter + Spring gRPC Spring Boot Starter + + + + org.springframework.grpc + spring-grpc-core + ${project.version} + + + org.springframework.grpc + spring-grpc-spring-boot-autoconfigure + ${project.version} + + + org.springframework.boot + spring-boot-starter + ${spring-boot.version} + + + +