-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example for gRPC using Maven #1091
Conversation
<url>https://servicetalk.io</url> | ||
|
||
<properties> | ||
<servicetalk.version>0.29.0</servicetalk.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping versions up to date maybe painful down the line, but since this is meant to be an example from the user's perspective it is representative of actual use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we can source gradle.properties
and get the version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we maybe able to but because gradle and maven treat build dependencies differently using the version verbatim would lead to unresolved artifacts. I'll update the release script to bump this version.
7c61a7d
to
3091897
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the example makes sense, few comments then LGTM
import io.grpc.examples.helloworld.HelloReply; | ||
import io.grpc.examples.helloworld.HelloRequest; | ||
|
||
public final class BlockingHelloWorldClient { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add a server so the example is self sufficient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just moved the pom.xml
into the existing helloworld
example to avoid duplication
<url>https://servicetalk.io</url> | ||
|
||
<properties> | ||
<servicetalk.version>0.29.0</servicetalk.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we can source gradle.properties
and get the version?
3091897
to
380c98c
Compare
No description provided.