Reputation: 1893
I develop android applications via Android Studio. And I would like to use 3 party libraries but I am working in a safe network which blocks all the internet except few which are specified by IT admin. I do NOT want to work with offline gradle option (Settings -> Gradle -> offline work). I would like to use gradle as if I got internet. To do that I need know which url is required, and tell IT admin open this spesific url. My question is which link or links I require ?
EDIT:
http://jcenter.bintray.com/
link above is accepted answer but also links below are required for gradle
http://download.gradle.com
http://services.gradle.com
http://repo.jfrog.org
Upvotes: 7
Views: 3581
Reputation: 1808
I think u have to include the android studio in whitelist... whitelist means, there should have certain apps in your system which are allowed to visit all links...
Upvotes: 0
Reputation: 9366
This depends on the repositories on which your 3'rd party libraries are hosted. The standard ones probably 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 a url (see example below) then you should include these as well.
Example for a private maven repository definition, taken from Gradle User Guide:
repositories { maven { url "http://repo.mycompany.com/maven2" } }
One last note - Maven Central and JCenter urls mentioned above are taken from Gradle User Guide.
Upvotes: 5