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)