diff --git a/temporal-serviceclient/build.gradle b/temporal-serviceclient/build.gradle index c52bde00f..a3bd7e56d 100644 --- a/temporal-serviceclient/build.gradle +++ b/temporal-serviceclient/build.gradle @@ -64,7 +64,7 @@ protobuf { } plugins { grpc { - artifact = 'io.grpc:protoc-gen-grpc-java:1.34.1' + (System.getProperty("os.arch") == 'aarch64' ? ':osx-x86_64' : '') + artifact = 'io.grpc:protoc-gen-grpc-java:1.55.1' + (System.getProperty("os.arch") == 'aarch64' ? ':osx-x86_64' : '') } } generateProtoTasks { diff --git a/temporal-test-server/build.gradle b/temporal-test-server/build.gradle index 4f07b34a8..762547ae5 100644 --- a/temporal-test-server/build.gradle +++ b/temporal-test-server/build.gradle @@ -66,7 +66,7 @@ protobuf { } plugins { grpc { - artifact = 'io.grpc:protoc-gen-grpc-java:1.34.1' + (System.getProperty("os.arch") == 'aarch64' ? ':osx-x86_64' : '') + artifact = 'io.grpc:protoc-gen-grpc-java:1.55.1' + (System.getProperty("os.arch") == 'aarch64' ? ':osx-x86_64' : '') } } generateProtoTasks {