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.

http://jcenter.bintray.com/com/android/tools/sdklib/24.2.3/:sdklib-24.2.3.jar like redirects to

http://d29vzk4ow07wi7.cloudfront.net/2e1b33d6544db11d30fa0037ee6751675ae42329?

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.