Skip to content

Commit

Permalink
Wrapping gradle creds on Windows in double quotes (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Reder <[email protected]>
  • Loading branch information
reder9 and Caleb Reder authored Jan 25, 2022
1 parent 00af616 commit c6da062
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ data class GradleBuildDsl(
bat(("call gradlew.bat --status").strDouble())
bat(("call gradlew.bat --stacktrace --build-cache " +
(gradleCredentials?.let
{ "-D$gradleUserProperty=%${it.usernameVariable.value}% " +
"-D$gradlePasswordProperty=%${it.passwordVariable.value}% "
{ "-D$gradleUserProperty=\\\"%${it.usernameVariable.value}%\\\" " +
"-D$gradlePasswordProperty=\\\"%${it.passwordVariable.value}%\\\" "
} ?: "") +
"$additionalBuildArgs $command").strDouble())
} }
Expand Down

0 comments on commit c6da062

Please sign in to comment.