reformat, use constant rather than repeated string literal for modified gradle script path
write gradle cache to temp folder, so it doesn't try to write to the read-only /src directory in the docker container