You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,20 @@ Autoconfigures and runs the embedded gRPC server with @GRpcService-enabled beans
27
27
== Setup
28
28
29
29
30
-
[IMPORTANT]
31
-
Make sure to check out the link:./grpc-spring-boot-starter-gradle-plugin/README.adoc[io.github.lognet.grpc-spring-boot^] gradle plugin that dramatically simplifies the project setup.
30
+
=== Long story shot
31
+
32
+
`Gradle` users are advised to apply the plugin :
33
+
34
+
[source,groovy]
35
+
----
36
+
plugins {
37
+
id "io.github.lognet.grpc-spring-boot" version '5.1.4'
38
+
}
39
+
----
40
+
41
+
link:./grpc-spring-boot-starter-gradle-plugin/README.adoc[io.github.lognet.grpc-spring-boot^] gradle plugin dramatically simplifies the project setup.
42
+
43
+
=== Short story long
32
44
33
45
[source,groovy]
34
46
----
@@ -71,9 +83,13 @@ configurations.all {
71
83
[NOTE]
72
84
The release notes with compatibility matrix can be found link:ReleaseNotes.md[here^]
73
85
86
+
Follow this https://github.com/google/protobuf-gradle-plugin[guide^] to generate stub and server interface(s) from your `.proto` file(s). +
87
+
88
+
If you are stack with maven - use this https://www.google.com/search?q=protobuf+maven+plugin[link^].
89
+
74
90
== Usage
75
91
76
-
* Start by https://github.com/google/protobuf-gradle-plugin[generating] stub and server interface(s) from your `.proto` file(s).
92
+
77
93
* Annotate your server interface implementation(s) with `@org.lognet.springboot.grpc.GRpcService`
78
94
* Optionally configure the server port in your `application.yml/properties`.
0 commit comments