From c0cc05177fe36436289b8bb9b4c8b4b74de4739e Mon Sep 17 00:00:00 2001 From: dreimolo Date: Sat, 16 Dec 2023 14:24:41 +0100 Subject: [PATCH] corrects protobuf.plugins.grpc --- code/api/index-api/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/api/index-api/build.gradle b/code/api/index-api/build.gradle index 42cbc4c0..51205960 100644 --- a/code/api/index-api/build.gradle +++ b/code/api/index-api/build.gradle @@ -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" + } } }