aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-02 21:58:01 +0300
committerGravatar Vitaly Takmazov2017-10-02 21:58:01 +0300
commita62e5672628c5daca0763e6bc2f949c082bb0d62 (patch)
tree33443f72b905f49bb74b5b4cabec6929e5ec8bf4 /juick-www
parentb7645f70499066a6d4263797ed0655433096470d (diff)
gradle: prevent compileFrontend task execution when no changes in files
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/juick-www/build.gradle b/juick-www/build.gradle
index 83902b8a..91d48c80 100644
--- a/juick-www/build.gradle
+++ b/juick-www/build.gradle
@@ -6,10 +6,15 @@ buildscript {
}
plugins {
- id "com.moowork.node" version "1.1.0"
+ id "com.moowork.node" version "1.2.0"
}
task compileFrontend(type: NpmTask) {
+ inputs.files(fileTree('node_modules'))
+ inputs.files(fileTree('src'))
+ inputs.file('package.json')
+ inputs.file('webpack.config.js')
+ outputs.dir('src/main/resources')
args = ['run', 'compile']
}