This is informational rather than anything else and relates to this post on the old forums: Problem loading dependencies through a proxy using the gradle tooling API
After hitting the same issue of setting the proxy in Netbeans and trying to use the gradle wrapper from within Netbeans you get to a point where the gradle build hangs when trying to resolve dependencies. The gradle wrapper works fine from the command line.
The workaround for this is to configure your netbeans proxy by using a manual proxy setting, enter your proxy details in the http and https boxes, but leave the SOCKS PROXY BLANK. Do not click the option for “use proxy for all protocols”.
Hope this helps someone else save a lot of time.