workaround for failing mac on apple silicon deps

This commit is contained in:
dreimolo 2023-12-16 14:22:11 +01:00
parent 6c7d7427bf
commit 0b34d43804

View File

@ -44,11 +44,18 @@ dependencies {
protobuf {
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 {
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"
}
}