Working with Grails behind a proxy

Update (2017-4-25):
Npm, Bower, Git, and Bash Proxy Configurations


ProxySettings.groovy

workProxy=["http.proxyHost":"proxy.work.com", "http.proxyPort":"8080", "http.proxyUser":"myusername", "http.proxyPassword":"areallysecureone"]  
collegeProxy=["http.proxyHost":"200.150.1.100", "http.proxyPort":"3030", "http.proxyUser":"anotherusername", "http.proxyPassword":"anothergreatpassword"]  
currentProxy="workProxy"  

But it is not working in WIN7. Need to figure out.