From 93fadf380af1c169007a38c6cc203bb49f201028 Mon Sep 17 00:00:00 2001 From: Marcus Lagergren <1062473+lagergren@users.noreply.github.com> Date: Mon, 11 Dec 2023 22:17:22 +0100 Subject: [PATCH] Added outputs for node_modules to yarn add task so it doesn't keep recompiling. --- platformUI/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platformUI/build.gradle.kts b/platformUI/build.gradle.kts index e529e1d..780596a 100644 --- a/platformUI/build.gradle.kts +++ b/platformUI/build.gradle.kts @@ -44,6 +44,7 @@ val yarnSetup by tasks.existing val yarnAddQuasar by tasks.registering(YarnTask::class) { dependsOn(yarnSetup) workingDir = gui + outputs.file("node_modules") args = buildList { val isQuasarGlobal = findProperty("org.xtclang.platform.quasarGlobal")?.toString() ?: "false" add("add") @@ -64,6 +65,7 @@ val yarnAddQuasar by tasks.registering(YarnTask::class) { val yarnQuasarBuild by tasks.registering(YarnTask::class) { dependsOn(yarnAddQuasar) workingDir = gui + outputs.files() args = listOf("--ignore-engines", "quasar", "build") doLast { printTaskOutputs()