gradle/gradle — pull request #242 by trecio (2014-02-05 19:02:51+00:00)
Title: Gradle 1.7 build fails because of java.net.BindException: Permission denied

Hello
I fixed the issue described here: http://issues.gradle.org/browse/GRADLE-2871
My changes allow to specify a system property ,,org.gradle.bindaddress'' which allows to explicitly define the IP address used when gradle process binds to a port and starts listening for incoming connections from child processes. Current HEAD version in restricted environments like OpenShift cloud fails with a permission denied exception each time it tries to open a port.
Without the property being set the behaviour is unchanged.

You can read more from my blog post: http://blog.trecio.cba.pl/index.php/2014/02/run-gradle-builds-on-openshift-pt-2-2/lang-pref/en/
Feel free to ask if you have any questions or concerns.

Regards