Skip to content

Commit a113a9c

Browse files
committed
modifying example files
1 parent a0982ca commit a113a9c

File tree

41 files changed

+112
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+112
-85
lines changed

examples/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bazel_dep(name = "googleapis", repo_name = "com_google_googleapis", version = "0.0.0-20240326-1c8d509c5")
2-
bazel_dep(name = "grpc-java", repo_name = "io_grpc_grpc_java", version = "1.70.0-SNAPSHOT") # CURRENT_GRPC_VERSION
2+
bazel_dep(name = "grpc-java", repo_name = "io_grpc_grpc_java", version = "1.68.1") # CURRENT_GRPC_VERSION
33
bazel_dep(name = "grpc-proto", repo_name = "io_grpc_grpc_proto", version = "0.0.0-20240627-ec30f58")
44
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "23.1")
55
bazel_dep(name = "rules_jvm_external", version = "6.0")

examples/android/clientcache/app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434
protobuf {
3535
protoc { artifact = 'com.google.protobuf:protoc:3.25.1' }
3636
plugins {
37-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
37+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.68.1' // CURRENT_GRPC_VERSION
3838
}
3939
}
4040
generateProtoTasks {
@@ -54,12 +54,12 @@ dependencies {
5454
implementation 'androidx.appcompat:appcompat:1.0.0'
5555

5656
// You need to build grpc-java to obtain these libraries below.
57-
implementation 'io.grpc:grpc-okhttp:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
58-
implementation 'io.grpc:grpc-protobuf-lite:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
59-
implementation 'io.grpc:grpc-stub:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
57+
implementation 'io.grpc:grpc-okhttp:1.68.1' // CURRENT_GRPC_VERSION
58+
implementation 'io.grpc:grpc-protobuf-lite:1.68.1' // CURRENT_GRPC_VERSION
59+
implementation 'io.grpc:grpc-stub:1.68.1' // CURRENT_GRPC_VERSION
6060
implementation 'org.apache.tomcat:annotations-api:6.0.53'
6161

6262
testImplementation 'junit:junit:4.13.2'
6363
testImplementation 'com.google.truth:truth:1.1.5'
64-
testImplementation 'io.grpc:grpc-testing:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
64+
testImplementation 'io.grpc:grpc-testing:1.68.1' // CURRENT_GRPC_VERSION
6565
}

examples/android/helloworld/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
protobuf {
3333
protoc { artifact = 'com.google.protobuf:protoc:3.25.1' }
3434
plugins {
35-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
35+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.68.1' // CURRENT_GRPC_VERSION
3636
}
3737
}
3838
generateProtoTasks {
@@ -52,8 +52,8 @@ dependencies {
5252
implementation 'androidx.appcompat:appcompat:1.0.0'
5353

5454
// You need to build grpc-java to obtain these libraries below.
55-
implementation 'io.grpc:grpc-okhttp:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
56-
implementation 'io.grpc:grpc-protobuf-lite:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
57-
implementation 'io.grpc:grpc-stub:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
55+
implementation 'io.grpc:grpc-okhttp:1.68.1' // CURRENT_GRPC_VERSION
56+
implementation 'io.grpc:grpc-protobuf-lite:1.68.1' // CURRENT_GRPC_VERSION
57+
implementation 'io.grpc:grpc-stub:1.68.1' // CURRENT_GRPC_VERSION
5858
implementation 'org.apache.tomcat:annotations-api:6.0.53'
5959
}

examples/android/routeguide/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
protobuf {
3333
protoc { artifact = 'com.google.protobuf:protoc:3.25.1' }
3434
plugins {
35-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
35+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.68.1' // CURRENT_GRPC_VERSION
3636
}
3737
}
3838
generateProtoTasks {
@@ -52,8 +52,8 @@ dependencies {
5252
implementation 'androidx.appcompat:appcompat:1.0.0'
5353

5454
// You need to build grpc-java to obtain these libraries below.
55-
implementation 'io.grpc:grpc-okhttp:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
56-
implementation 'io.grpc:grpc-protobuf-lite:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
57-
implementation 'io.grpc:grpc-stub:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
55+
implementation 'io.grpc:grpc-okhttp:1.68.1' // CURRENT_GRPC_VERSION
56+
implementation 'io.grpc:grpc-protobuf-lite:1.68.1' // CURRENT_GRPC_VERSION
57+
implementation 'io.grpc:grpc-stub:1.68.1' // CURRENT_GRPC_VERSION
5858
implementation 'org.apache.tomcat:annotations-api:6.0.53'
5959
}

examples/android/strictmode/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ android {
3333
protobuf {
3434
protoc { artifact = 'com.google.protobuf:protoc:3.25.1' }
3535
plugins {
36-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
36+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.68.1' // CURRENT_GRPC_VERSION
3737
}
3838
}
3939
generateProtoTasks {
@@ -53,8 +53,8 @@ dependencies {
5353
implementation 'androidx.appcompat:appcompat:1.0.0'
5454

5555
// You need to build grpc-java to obtain these libraries below.
56-
implementation 'io.grpc:grpc-okhttp:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
57-
implementation 'io.grpc:grpc-protobuf-lite:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
58-
implementation 'io.grpc:grpc-stub:1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
56+
implementation 'io.grpc:grpc-okhttp:1.68.1' // CURRENT_GRPC_VERSION
57+
implementation 'io.grpc:grpc-protobuf-lite:1.68.1' // CURRENT_GRPC_VERSION
58+
implementation 'io.grpc:grpc-stub:1.68.1' // CURRENT_GRPC_VERSION
5959
implementation 'org.apache.tomcat:annotations-api:6.0.53'
6060
}

examples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ java {
2323

2424
// Feel free to delete the comment at the next line. It is just for safely
2525
// updating the version in our release process.
26-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
26+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2727
def protobufVersion = '3.25.5'
2828
def protocVersion = protobufVersion
2929

examples/example-alts/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ java {
2424

2525
// Feel free to delete the comment at the next line. It is just for safely
2626
// updating the version in our release process.
27-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
27+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2828
def protocVersion = '3.25.5'
2929

3030
dependencies {

examples/example-debug/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ java {
2525

2626
// Feel free to delete the comment at the next line. It is just for safely
2727
// updating the version in our release process.
28-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
28+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2929
def protobufVersion = '3.25.5'
3030

3131
dependencies {

examples/example-debug/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.70.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.68.1</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>example-debug</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.70.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.68.1</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protoc.version>3.25.5</protoc.version>
1717
<!-- required for jdk9 -->
1818
<maven.compiler.source>1.8</maven.compiler.source>

examples/example-debug/src/main/java/io/grpc/examples/debug/HelloWorldDebuggableClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import io.grpc.examples.helloworld.GreeterGrpc;
2828
import io.grpc.examples.helloworld.HelloReply;
2929
import io.grpc.examples.helloworld.HelloRequest;
30-
import io.grpc.protobuf.services.ProtoReflectionServiceV1;
30+
import io.grpc.protobuf.services.ProtoReflectionService;
3131
import io.grpc.services.AdminInterface;
3232
import java.util.concurrent.TimeUnit;
3333
import java.util.logging.Level;

examples/example-debug/src/main/java/io/grpc/examples/debug/HostnameDebuggableServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import io.grpc.Server;
2222
import io.grpc.ServerBuilder;
2323
import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
24-
import io.grpc.protobuf.services.ProtoReflectionServiceV1;
24+
import io.grpc.protobuf.services.ProtoReflectionService;
2525
import io.grpc.services.AdminInterface;
2626
import io.grpc.services.HealthStatusManager;
2727
import java.io.IOException;

examples/example-dualstack/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ java {
2525

2626
// Feel free to delete the comment at the next line. It is just for safely
2727
// updating the version in our release process.
28-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
28+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2929
def protobufVersion = '3.25.5'
3030

3131
dependencies {

examples/example-dualstack/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.70.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.68.1</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>example-dualstack</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.70.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.68.1</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protoc.version>3.25.5</protoc.version>
1717
<!-- required for jdk9 -->
1818
<maven.compiler.source>1.8</maven.compiler.source>

examples/example-gauth/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ java {
2424

2525
// Feel free to delete the comment at the next line. It is just for safely
2626
// updating the version in our release process.
27-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
27+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2828
def protobufVersion = '3.25.5'
2929
def protocVersion = protobufVersion
3030

examples/example-gauth/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.70.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.68.1</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>example-gauth</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.70.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.68.1</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protobuf.version>3.25.5</protobuf.version>
1717
<!-- required for jdk9 -->
1818
<maven.compiler.source>1.8</maven.compiler.source>

examples/example-gcp-csm-observability/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ java {
2525

2626
// Feel free to delete the comment at the next line. It is just for safely
2727
// updating the version in our release process.
28-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
28+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2929
def protocVersion = '3.25.5'
3030
def openTelemetryVersion = '1.40.0'
3131
def openTelemetryPrometheusVersion = '1.40.0-alpha'
@@ -34,7 +34,6 @@ dependencies {
3434
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
3535
implementation "io.grpc:grpc-stub:${grpcVersion}"
3636
implementation "io.grpc:grpc-gcp-csm-observability:${grpcVersion}"
37-
implementation "io.grpc:grpc-xds:${grpcVersion}"
3837
implementation "io.opentelemetry:opentelemetry-sdk:${openTelemetryVersion}"
3938
implementation "io.opentelemetry:opentelemetry-sdk-metrics:${openTelemetryVersion}"
4039
implementation "io.opentelemetry:opentelemetry-exporter-prometheus:${openTelemetryPrometheusVersion}"

examples/example-gcp-csm-observability/src/main/java/io/grpc/examples/csmobservability/CsmObservabilityClient.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import io.grpc.examples.helloworld.HelloReply;
2626
import io.grpc.examples.helloworld.HelloRequest;
2727
import io.grpc.gcp.csm.observability.CsmObservability;
28-
import io.grpc.xds.XdsChannelCredentials;
2928
import io.opentelemetry.exporter.prometheus.PrometheusHttpServer;
3029
import io.opentelemetry.sdk.OpenTelemetrySdk;
3130
import io.opentelemetry.sdk.metrics.SdkMeterProvider;
@@ -128,10 +127,8 @@ public void run() {
128127
observability.registerGlobal();
129128

130129
// Create a communication channel to the server, known as a Channel.
131-
ManagedChannel channel =
132-
Grpc.newChannelBuilder(
133-
target, XdsChannelCredentials.create(InsecureChannelCredentials.create()))
134-
.build();
130+
ManagedChannel channel = Grpc.newChannelBuilder(target, InsecureChannelCredentials.create())
131+
.build();
135132
CsmObservabilityClient client = new CsmObservabilityClient(channel);
136133

137134
try {

examples/example-gcp-csm-observability/src/main/java/io/grpc/examples/csmobservability/CsmObservabilityServer.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
import io.grpc.examples.helloworld.HelloRequest;
2525
import io.grpc.gcp.csm.observability.CsmObservability;
2626
import io.grpc.stub.StreamObserver;
27-
import io.grpc.xds.XdsServerBuilder;
28-
import io.grpc.xds.XdsServerCredentials;
2927
import io.opentelemetry.exporter.prometheus.PrometheusHttpServer;
3028
import io.opentelemetry.sdk.OpenTelemetrySdk;
3129
import io.opentelemetry.sdk.metrics.SdkMeterProvider;
@@ -42,12 +40,10 @@ public class CsmObservabilityServer {
4240

4341
private Server server;
4442
private void start(int port) throws IOException {
45-
server =
46-
XdsServerBuilder.forPort(
47-
port, XdsServerCredentials.create(InsecureServerCredentials.create()))
48-
.addService(new GreeterImpl())
49-
.build()
50-
.start();
43+
server = Grpc.newServerBuilderForPort(port, InsecureServerCredentials.create())
44+
.addService(new GreeterImpl())
45+
.build()
46+
.start();
5147
logger.info("Server started, listening on " + port);
5248
}
5349

examples/example-gcp-observability/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ java {
2525

2626
// Feel free to delete the comment at the next line. It is just for safely
2727
// updating the version in our release process.
28-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
28+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2929
def protocVersion = '3.25.5'
3030

3131
dependencies {

examples/example-hostname/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'java'
44

55
id "com.google.protobuf" version "0.9.4"
6-
id 'com.google.cloud.tools.jib' version '3.4.4' // For releasing to Docker Hub
6+
id 'com.google.cloud.tools.jib' version '3.4.3' // For releasing to Docker Hub
77
}
88

99
repositories {
@@ -23,7 +23,7 @@ java {
2323

2424
// Feel free to delete the comment at the next line. It is just for safely
2525
// updating the version in our release process.
26-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
26+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2727
def protobufVersion = '3.25.5'
2828

2929
dependencies {

examples/example-hostname/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.70.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.68.1</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>example-hostname</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.70.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.68.1</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protoc.version>3.25.5</protoc.version>
1717
<!-- required for jdk9 -->
1818
<maven.compiler.source>1.8</maven.compiler.source>

examples/example-hostname/src/main/java/io/grpc/examples/hostname/HostnameServer.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import io.grpc.Server;
2222
import io.grpc.ServerBuilder;
2323
import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
24-
import io.grpc.protobuf.services.ProtoReflectionServiceV1;
24+
import io.grpc.protobuf.services.ProtoReflectionService;
2525
import io.grpc.services.HealthStatusManager;
2626
import java.io.IOException;
2727
import java.util.concurrent.TimeUnit;
@@ -53,7 +53,7 @@ public static void main(String[] args) throws IOException, InterruptedException
5353
HealthStatusManager health = new HealthStatusManager();
5454
final Server server = Grpc.newServerBuilderForPort(port, InsecureServerCredentials.create())
5555
.addService(new HostnameGreeter(hostname))
56-
.addService(ProtoReflectionServiceV1.newInstance())
56+
.addService(ProtoReflectionService.newInstance())
5757
.addService(health.getHealthService())
5858
.build()
5959
.start();
@@ -64,17 +64,17 @@ public void run() {
6464
// Start graceful shutdown
6565
server.shutdown();
6666
try {
67-
// Wait up to 30 seconds for RPCs to complete processing.
68-
server.awaitTermination(30, TimeUnit.SECONDS);
67+
// Wait for RPCs to complete processing
68+
if (!server.awaitTermination(30, TimeUnit.SECONDS)) {
69+
// That was plenty of time. Let's cancel the remaining RPCs
70+
server.shutdownNow();
71+
// shutdownNow isn't instantaneous, so give a bit of time to clean resources up
72+
// gracefully. Normally this will be well under a second.
73+
server.awaitTermination(5, TimeUnit.SECONDS);
74+
}
6975
} catch (InterruptedException ex) {
70-
Thread.currentThread().interrupt();
76+
server.shutdownNow();
7177
}
72-
// Cancel any remaining RPCs. If awaitTermination() returned true above, then there are no
73-
// RPCs and the server is already terminated. But it is safe to call even when terminated.
74-
server.shutdownNow();
75-
// shutdownNow isn't instantaneous, so you want an additional awaitTermination() to give
76-
// time to clean resources up gracefully. Normally it will return in well under a second. In
77-
// this example, the server.awaitTermination() in main() provides that delay.
7878
}
7979
});
8080
// This would normally be tied to the service's dependencies. For example, if HostnameGreeter

examples/example-jwt-auth/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ java {
2323

2424
// Feel free to delete the comment at the next line. It is just for safely
2525
// updating the version in our release process.
26-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
26+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2727
def protobufVersion = '3.25.5'
2828
def protocVersion = protobufVersion
2929

examples/example-jwt-auth/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<packaging>jar</packaging>
88
<!-- Feel free to delete the comment at the end of these lines. It is just
99
for safely updating the version in our release process. -->
10-
<version>1.70.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
10+
<version>1.68.1</version><!-- CURRENT_GRPC_VERSION -->
1111
<name>example-jwt-auth</name>
1212
<url>https://github.com/grpc/grpc-java</url>
1313

1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
<grpc.version>1.70.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
16+
<grpc.version>1.68.1</grpc.version><!-- CURRENT_GRPC_VERSION -->
1717
<protobuf.version>3.25.5</protobuf.version>
1818
<protoc.version>3.25.5</protoc.version>
1919
<!-- required for jdk9 -->

examples/example-oauth/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ java {
2323

2424
// Feel free to delete the comment at the next line. It is just for safely
2525
// updating the version in our release process.
26-
def grpcVersion = '1.70.0-SNAPSHOT' // CURRENT_GRPC_VERSION
26+
def grpcVersion = '1.68.1' // CURRENT_GRPC_VERSION
2727
def protobufVersion = '3.25.5'
2828
def protocVersion = protobufVersion
2929

0 commit comments

Comments
 (0)