Android studio Gradle dependency download library download url

I am developing Android applications through Android Studio. And I would like to use 3 party libraries, but I work on a secure network that blocks the entire Internet, with the exception of a few that are indicated by the IT administrator. I DO NOT want to work with standalone gradle function (Settings -> gradle -> offline work). I would like to use gradle as if I got internet. To do this, I need to know which url is needed and tell the IT administrator to open this spesific url. My question is which link or links do I need?

EDIT:

http://jcenter.bintray.com/ 

link accepted, but links below are also required for gradle

  http://download.gradle.com http://services.gradle.com http://repo.jfrog.org 
+5
source share
2 answers

It depends on the repositories that host your 3 party libraries. Standard ones may include Maven Central ( http://repo1.maven.org/maven2 ) and JCenter ( https://jcenter.bintray.com or http://jcenter.bintray.com/ ), and if you also use private repositories defined by url (see example below), then you should enable them as well.

Example for defining a private maven repository taken from Gradle User Guide :

 repositories { maven { url "http://repo.mycompany.com/maven2" } } 

One final note - the above Maven Central and JCenter links are from the Gradle User Guide .

+5
source

I think you need to include android in the Android panel ... a white list means that your system must have certain applications that are allowed to visit all links ...

0
source

All Articles