aboutsummaryrefslogtreecommitdiff
path: root/juick-www/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-15 10:57:37 +0300
committerGravatar Vitaly Takmazov2018-02-15 10:57:37 +0300
commit88a229093db4ae59f9a615a2b5952e019d320ecb (patch)
tree8fd9ad532cfd787e15b690fff5000fbc76572fa1 /juick-www/build.gradle
parentf764bb226f0db20a4e4c2258f2304e93f1a47557 (diff)
www: switch to Yarn because of damned fsevents npm bug
Diffstat (limited to 'juick-www/build.gradle')
-rw-r--r--juick-www/build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/build.gradle b/juick-www/build.gradle
index a0cc15d0..1db0ceaa 100644
--- a/juick-www/build.gradle
+++ b/juick-www/build.gradle
@@ -9,7 +9,7 @@ plugins {
id "com.moowork.node" version "1.2.0"
}
-task compileFrontend(type: NpmTask) {
+task compileFrontend(type: YarnTask) {
inputs.files(fileTree('node_modules'))
inputs.files(fileTree('src'))
inputs.file('package.json')
@@ -38,7 +38,7 @@ dependencies {
testCompile ('net.sourceforge.htmlunit:htmlunit:2.29')
}
-compileFrontend.dependsOn 'npmInstall'
+compileFrontend.dependsOn 'yarn'
processResources.dependsOn 'compileFrontend'
compileJava.options.encoding = 'UTF-8'