Revert Gradle distributionUrlRegex cleanup.

This reverts commit 75a0a6752a77e2e0f491ae4de7137f5163c7a4bd.

On my machine (Windows 8.1, Node.js 0.10.33), commit 75a0a675 breaks this regex.