diff --git a/src/util/commandUtils.ts b/src/util/commandUtils.ts index 8f859664..597508f0 100644 --- a/src/util/commandUtils.ts +++ b/src/util/commandUtils.ts @@ -60,7 +60,7 @@ export async function getCommandForGradle(buildGradlePath: string, command: stri return getGradleCommandForWin(gradleCmdStart, buildGradlePath, command, terminalType, customCommand); } else { gradleCmdStart = Path.join(gradleCmdStart, "gradlew"); - return formDefaultCommand(gradleCmdStart, buildGradlePath, command, "-b=", customCommand); + return formDefaultCommandWithPath(gradleCmdStart, buildGradlePath, command, "-b=", customCommand); } }