Gradle build corporate network via 2nd network card

Currently I am on a corporate network which does not allow traffic to jcenter(), maven() or google() repositories, thus any build I am trying to do on Android Studio fails. I've tried all the tips I could find on web, including adding http(s) proxy settings in gradle configuration, using a cntlm proxy, all without success.

My ideea is to add some manual static routes to the Windows routing table and to forward all this traffic to The wireless network card, but I do not know how to bypass the proxy configuration after that.

Do you think it will work?

Thanks.