aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar vitalyster2020-11-11 05:55:33 +0300
committerGravatar GitHub2020-11-11 05:55:33 +0300
commit02fa172078571f74cde5aa5b83a6b0a80835cbe6 (patch)
tree444ab2ee604aa9fcd90a820b842cd1cfe59d28f8 /build.gradle
parent11228b423db6b5a9d4990ddc2b25090728c819ee (diff)
Gradle: use `npm ci`
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index e4a67306..8cad40e2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,9 +35,9 @@ task npmInstall(type: Exec) {
inputs.file('package-lock.json')
outputs.file('package-lock.json')
if (DefaultNativePlatform.getCurrentOperatingSystem().isWindows()) {
- commandLine 'cmd', '/c', 'npm', 'install'
+ commandLine 'cmd', '/c', 'npm', 'ci'
} else {
- commandLine 'npm', 'install'
+ commandLine 'npm', 'ci'
}
}