From 86da1b5936ec3b554e876cd20070871c39d05979 Mon Sep 17 00:00:00 2001 From: MaxKless <34165455+MaxKless@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:19:59 +0200 Subject: [PATCH] fix(gradle): pass process.env when running gradle (#26776) --- packages/gradle/src/utils/exec-gradle.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gradle/src/utils/exec-gradle.ts b/packages/gradle/src/utils/exec-gradle.ts index b86011a3a9bef..c2327eebe60a3 100644 --- a/packages/gradle/src/utils/exec-gradle.ts +++ b/packages/gradle/src/utils/exec-gradle.ts @@ -30,6 +30,7 @@ export function execGradleAsync( ...execOptions, shell: true, windowsHide: true, + env: process.env, }); let stdout = Buffer.from('');