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}" + } } }