aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/base/frontend/build.gradle.kts8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/base/frontend/build.gradle.kts b/plugins/base/frontend/build.gradle.kts
index 990b7828..645ef826 100644
--- a/plugins/base/frontend/build.gradle.kts
+++ b/plugins/base/frontend/build.gradle.kts
@@ -2,6 +2,10 @@ plugins {
id("com.moowork.node") version "1.3.1"
}
+task("generateFrontendFiles") {
+ dependsOn("npmInstall", "npm_run_build")
+}
+
tasks {
val npmRunBuild by registering {
inputs.dir("$projectDir/src/main/")
@@ -10,10 +14,6 @@ tasks {
outputs.cacheIf { true }
}
- register("generateFrontendFiles") {
- dependsOn(npmInstall, npmRunBuild)
- }
-
clean {
delete = setOf("$projectDir/node_modules", "$projectDir/dist/")
}