aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-21 15:58:30 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-21 17:34:58 +0200
commite97d15ef638a86b29f0b85e140170a8e03e99b91 (patch)
tree1b668de2a9bc663e9c342016c39a751a4174593b
parentf88867200d33abb81d6ff258bf24556d2f049c40 (diff)
downloaddokka-e97d15ef638a86b29f0b85e140170a8e03e99b91.tar.gz
dokka-e97d15ef638a86b29f0b85e140170a8e03e99b91.tar.bz2
dokka-e97d15ef638a86b29f0b85e140170a8e03e99b91.zip
Automatically install nodejs 12.18.2
-rw-r--r--plugins/base/frontend/build.gradle.kts5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/base/frontend/build.gradle.kts b/plugins/base/frontend/build.gradle.kts
index a184c296..49d8dbd8 100644
--- a/plugins/base/frontend/build.gradle.kts
+++ b/plugins/base/frontend/build.gradle.kts
@@ -2,6 +2,11 @@ plugins {
id("com.github.node-gradle.node") version "2.2.4"
}
+node {
+ version = "12.18.2"
+ download = true
+}
+
val npmRunBuild = tasks.getByName("npm_run_build") {
inputs.dir(file("src/main"))
inputs.files(file("package.json"), file("webpack.config.js"))