From fa4656f0a9d081ff62f89b3301ae36e2813cff6d Mon Sep 17 00:00:00 2001 From: Tal Moran Date: Mon, 3 Jul 2017 03:37:32 +0300 Subject: [PATCH] added dependency on npmInstall to ensure protobufjs is installed in bb server frontend --- bulletin-board-server-frontend/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bulletin-board-server-frontend/build.gradle b/bulletin-board-server-frontend/build.gradle index 67c01ce..d1c8eae 100644 --- a/bulletin-board-server-frontend/build.gradle +++ b/bulletin-board-server-frontend/build.gradle @@ -45,10 +45,13 @@ task generateProtobufBundle(type: NpmTask) { setEnvironment([PROTO_FILES: protoFiles.join(" ")]); generateProtobufBundle.args = ['run', 'protoc'] } + + dependsOn npmInstall } generateProtobufBundle.description = "Generate the bundle.js/bundle.d.ts files containing compiled protobufs" +npm_run_build.dependsOn(npm_install) npm_run_build.dependsOn(generateProtobufBundle) npm_start.dependsOn(generateProtobufBundle)