From a84af91323f40c631720772c00a55a5751936ad2 Mon Sep 17 00:00:00 2001 From: Piv <18462828+Piv200@users.noreply.github.com> Date: Sun, 19 Apr 2020 19:59:30 +0930 Subject: [PATCH] Make macos grpc plugin executable, fix python proto config to depend on protobuf generation. --- protobuf/build.gradle | 2 +- .../grpc_python_plugin_1.28.1-osx-x86_64 | Bin 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 protobuf/grpc_plugins/grpc_python_plugin_1.28.1-osx-x86_64 diff --git a/protobuf/build.gradle b/protobuf/build.gradle index b45a91f..eb9fd29 100644 --- a/protobuf/build.gradle +++ b/protobuf/build.gradle @@ -43,7 +43,7 @@ protobuf { } } -task packPythonGrpc(type: Zip) { +task packPythonGrpc(type: Zip, dependsOn: protobuf.generateProtoTasks.all()) { from protobuf.generatedFilesBaseDir + '/main/python' } diff --git a/protobuf/grpc_plugins/grpc_python_plugin_1.28.1-osx-x86_64 b/protobuf/grpc_plugins/grpc_python_plugin_1.28.1-osx-x86_64 old mode 100644 new mode 100755