remove useProxy method - you can pass this information outside (-Dhttp.proxyHost -Dhttp.proxyPort)