From 3908391fd67da33df2d43c1b01a9e1709dd73c05 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 15 May 2022 16:18:59 +0200 Subject: build(web/api): Ensure Node.js is downloaded This change updates the build configuration in order to ensure that Node.js is downloaded onto the build system. This drops an explicit dependency on a system installation of Node.js and allows us to ensure that the project is built against the correct Node.js version. --- opendc-web/opendc-web-ui/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'opendc-web') diff --git a/opendc-web/opendc-web-ui/build.gradle.kts b/opendc-web/opendc-web-ui/build.gradle.kts index c0e3fcf6..f8c0a45b 100644 --- a/opendc-web/opendc-web-ui/build.gradle.kts +++ b/opendc-web/opendc-web-ui/build.gradle.kts @@ -38,6 +38,10 @@ sourceSets { } } +node { + download.set(true) +} + val formatTask = tasks.register("format") { args.set(listOf("run", "format")) dependsOn(tasks.npmInstall) -- cgit v1.2.3