This setting was causing failures in the CI build, and was not present prior to the recent updates to gradle wrapper generation. This commit also simplifies the gradle wrapper customizations by placing the logic in a doLast block within the original 'wrapper' task, as to creating a second wrapper task and extending from the first.
- Increase max heap size in gradle wrapper. - Use MockProperties implementation to protect against security exceptions. - Replace windows CRLF with LF in various tests. - Increase Thread.sleep times to account for lack of precision on Windows. Issue: SPR-9717