corrects protobuf.plugins.grpc

This commit is contained in:
dreimolo 2023-12-16 14:24:41 +01:00
parent 0b34d43804
commit c0cc05177f

View File

@ -52,10 +52,11 @@ protobuf {
}
plugins {
grpc {
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"
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"
}
}
}