Skip to content

Commit

Permalink
gRPC compliler fix for M1
Browse files Browse the repository at this point in the history
  • Loading branch information
tgianos committed Jan 26, 2022
1 parent 1188642 commit 3f09f62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion genie-proto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
}
}

Expand Down

0 comments on commit 3f09f62

Please sign in to comment.