From 22149aa036ebc9e64580aa8c5967b4e1d63ac1a4 Mon Sep 17 00:00:00 2001 From: Shi Chen Date: Thu, 9 Mar 2023 10:31:49 +0800 Subject: [PATCH] fix: Pre-relase CI failed (#1320) --- extension/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extension/build.gradle b/extension/build.gradle index 372e14e1b..1342f1445 100644 --- a/extension/build.gradle +++ b/extension/build.gradle @@ -77,6 +77,7 @@ clean { task copyProtoJs(type: Copy) { dependsOn ':extension:generateProto' + dependsOn ':extension:copyDocs' group 'copy' description 'Copies proto JavaScript files into src dir' from "$protobuf.generatedFilesBaseDir/main/js" @@ -173,6 +174,10 @@ task testVsCode(type: CrossPlatformExec) { } task copyDocs(type: Copy) { + dependsOn ':extension:generateProto' + dependsOn ':extension:npmInstall' + dependsOn ':extension:copyProtoTs' + dependsOn ':gradle-server:serverStartScripts' group 'copy' description 'Copies docs from the root project into the extension' from docsFiles.collect { "$rootProject.projectDir/" + it }