diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-06-23 12:46:19 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-06-24 12:58:25 +0200 |
commit | 7add3d2d1780c3ca77e81a9a39a6083420eb9a13 (patch) | |
tree | 10145dceb24a459d28f5894aaee319a00e876693 /plugins | |
parent | 724242df61b3cbd8f176dde7208f64c8acedf850 (diff) | |
download | dokka-7add3d2d1780c3ca77e81a9a39a6083420eb9a13.tar.gz dokka-7add3d2d1780c3ca77e81a9a39a6083420eb9a13.tar.bz2 dokka-7add3d2d1780c3ca77e81a9a39a6083420eb9a13.zip |
Repaired frontend gradle module
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/base/frontend/build.gradle.kts | 8 |
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/") } |