diff --git a/build.gradle b/build.gradle index 2158196b7..1ab9ed1ab 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ allprojects { ext { // Platforms - grpcVersion = '1.58.1' // [1.38.0,) Needed for io.grpc.protobuf.services.HealthStatusManager + grpcVersion = '1.75.0' // [1.38.0,) Needed for io.grpc.protobuf.services.HealthStatusManager jacksonVersion = '2.15.4' // [2.9.0,) nexusVersion = '0.4.0-alpha' // we don't upgrade to 1.10.x because it requires kotlin 1.6. Users may use 1.10.x in their environments though. diff --git a/temporal-serviceclient/build.gradle b/temporal-serviceclient/build.gradle index 3356d3e58..464373505 100644 --- a/temporal-serviceclient/build.gradle +++ b/temporal-serviceclient/build.gradle @@ -12,6 +12,7 @@ dependencies { api ("io.grpc:grpc-api") //Classes like io.grpc.Metadata are used as a part of our API api "io.grpc:grpc-stub" //Part of WorkflowServiceStubs API api "io.grpc:grpc-netty-shaded" //Part of WorkflowServiceStubs API, specifically SslContext + api "io.grpc:grpc-protobuf" //For io.grpc.protobuf.StatusProto and ProtoUtils used by generated stubs api "io.grpc:grpc-services" //Standard gRPC HealthCheck Response class api "io.grpc:grpc-inprocess" //For the in-process time skipping test server api "com.google.protobuf:protobuf-java-util:$protoVersion" //proto request and response objects are a part of this module's API diff --git a/temporal-testing/src/main/java/io/temporal/testing/internal/SDKTestWorkflowRule.java b/temporal-testing/src/main/java/io/temporal/testing/internal/SDKTestWorkflowRule.java index f749c68e0..48a00afc4 100644 --- a/temporal-testing/src/main/java/io/temporal/testing/internal/SDKTestWorkflowRule.java +++ b/temporal-testing/src/main/java/io/temporal/testing/internal/SDKTestWorkflowRule.java @@ -456,6 +456,7 @@ public void addWorkflowImplementationFactory( .registerWorkflowImplementationFactory(factoryImpl, factoryFunc); } + @SuppressWarnings("deprecation") public void regenerateHistoryForReplay(String workflowId, String fileName) { if (REGENERATE_JSON_FILES) { String json = getExecutionHistory(workflowId).toJson(true);