workaround for failing mac on apple silicon deps
This commit is contained in:
parent
6c7d7427bf
commit
0b34d43804
@ -44,11 +44,18 @@ dependencies {
|
|||||||
|
|
||||||
protobuf {
|
protobuf {
|
||||||
protoc {
|
protoc {
|
||||||
artifact = "com.google.protobuf:protoc:3.0.2"
|
if (osdetector.os == "osx") {
|
||||||
|
artifact = "com.google.protobuf:protoc:3.0.2:osx-x86_64"
|
||||||
|
} else {
|
||||||
|
artifact = "com.google.protobuf:protoc:3.0.2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
plugins {
|
plugins {
|
||||||
grpc {
|
grpc {
|
||||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.1.2'
|
if (osdetector.os == "osx") {
|
||||||
|
artifact = "io.grpc:protoc-gen-grpc-java:1.1.2:osx-x86_64"
|
||||||
|
} else {
|
||||||
|
artifact = "io.grpc:protoc-gen-grpc-java:1.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user