One could argue that maybe I should have git on my path since I clearly required it to check out the code, but I tend to set as few environment variables as possible, and generally specifically invoke the executables that I use.
If determineCommitId isn’t essential, then maybe it should skip gracefully, otherwise it could check for git during the setup phase rather than waiting for the execution phase.
:determineCommitId
'git' is not recognized as an internal or external command,
operable program or batch file.
:determineCommitId FAILED
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\spencer\play\gradle\buildReceipt.gradle' line: 57
* What went wrong:
Execution failed for task ':determineCommitId'.
> Process 'command 'cmd'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
This might not even be considered a “real” problem, and a very low priority one even if it is.
-Spencer