Gradle build behind proxy

I’m trying to build android build behind PROXY but the jcenter repo link redirects to the below and the build fails because we don’t have access to it. like redirects to

Actually, the Gradle build is able to download the text files POM & Md5 files not the JAR files.

Please let me know how solve this issue.