diff --git a/temporal-serviceclient/build.gradle b/temporal-serviceclient/build.gradle index f476f4890..a61ebe224 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' && System.getProperty("os.name") == 'Mac OS X' ? ':osx-x86_64' : '') + artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0' + (System.getProperty("os.arch") == 'aarch64' && System.getProperty("os.name") == 'Mac OS X' ? ':osx-x86_64' : '') } } generateProtoTasks { diff --git a/temporal-test-server/build.gradle b/temporal-test-server/build.gradle index a6bb98f94..8cee7ecff 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' && System.getProperty("os.name") == 'Mac OS X' ? ':osx-x86_64' : '') + artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0' + (System.getProperty("os.arch") == 'aarch64' && System.getProperty("os.name") == 'Mac OS X' ? ':osx-x86_64' : '') } } generateProtoTasks {