From 3f09f623ba69541ce1e06bb568647baff3d9e581 Mon Sep 17 00:00:00 2001 From: Tom Gianos Date: Tue, 25 Jan 2022 14:08:08 -0800 Subject: [PATCH] gRPC compliler fix for M1 --- genie-proto/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/genie-proto/build.gradle b/genie-proto/build.gradle index db0601d7533..a645885259f 100644 --- a/genie-proto/build.gradle +++ b/genie-proto/build.gradle @@ -53,7 +53,11 @@ protobuf { plugins { grpc { // Download the grpc compiler - artifact = "io.grpc:protoc-gen-grpc-java:${grpc_version}" + if (osdetector.os == "osx") { + artifact = "io.grpc:protoc-gen-grpc-java:${grpc_version}:osx-x86_64" + } else { + artifact = "io.grpc:protoc-gen-grpc-java:${grpc_version}" + } } }