From 09c919a0cf12ab8e0b49fa276a79470ee37e05d7 Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Fri, 27 Sep 2024 16:32:26 +0200 Subject: [PATCH] fix: add nodeVersion in gradle plugin settings (#20059) (#20091) Prior to this fix, the settings declared in Gradle were not being passed to the plugin. For example, changing the nodeVersion in build.gradle did not update the actual nodeVersion used. Co-authored-by: Mark Andreev --- .../kotlin/com/vaadin/gradle/PrepareFrontendInputProperties.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/flow-plugins/flow-gradle-plugin/src/main/kotlin/com/vaadin/gradle/PrepareFrontendInputProperties.kt b/flow-plugins/flow-gradle-plugin/src/main/kotlin/com/vaadin/gradle/PrepareFrontendInputProperties.kt index d7ee2fde2e5..bde33af539b 100644 --- a/flow-plugins/flow-gradle-plugin/src/main/kotlin/com/vaadin/gradle/PrepareFrontendInputProperties.kt +++ b/flow-plugins/flow-gradle-plugin/src/main/kotlin/com/vaadin/gradle/PrepareFrontendInputProperties.kt @@ -168,6 +168,7 @@ internal class PrepareFrontendInputProperties(private val config: PluginEffectiv settings.isForceAlternativeNode = config.requireHomeNodeExec.get() settings.isUseGlobalPnpm = config.useGlobalPnpm.get() settings.isAutoUpdate = config.nodeAutoUpdate.get() + settings.nodeVersion = config.nodeVersion.get() FrontendTools(settings) } }