Skip to content

Commit f5ecf1b

Browse files
committed
Save changes.
1 parent 9d5842b commit f5ecf1b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎examples/build.gradle‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dependencies {
3434
implementation "com.google.protobuf:protobuf-java-util:${protobufVersion}"
3535

3636
runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}"
37+
implementation "io.grpc:grpc-netty:${grpcVersion}"
3738

3839
testImplementation "io.grpc:grpc-testing:${grpcVersion}"
3940
testImplementation "io.grpc:grpc-inprocess:${grpcVersion}"
@@ -44,7 +45,7 @@ dependencies {
4445
protobuf {
4546
protoc { artifact = "com.google.protobuf:protoc:${protocVersion}" }
4647
plugins {
47-
grpc { artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}" }
48+
grpc { artifact = "io.grpc:protoc-gen-grpc-java:1.79.0" }
4849
}
4950
generateProtoTasks {
5051
all()*.plugins { grpc {} }

‎examples/src/main/java/io/grpc/examples/helloworld/HelloWorldClient.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void greet(String name) {
6363
public static void main(String[] args) throws Exception {
6464
String user = "world";
6565
// Access a service running on the local machine on port 50051
66-
String target = "localhost:50051";
66+
String target = "localhost:8443";
6767
// Allow passing in the user and target strings as command line arguments
6868
if (args.length > 0) {
6969
if ("--help".equals(args[0])) {

0 commit comments

Comments
 (0)