artifactory - Can gradle build.gradle file support two Artifactories? -


i'm using gradle build system. dependencies stored on first artifactory server, let's call a1. setup , works great. however, same build.gradle file supposedly needs support 2 distinct artifactories - along a1 comes a2.

is possible in gradle? guides or tips on how that?

sorry if question vague - i'll try narrow subject if requested, help.

of course, declare repository:

repositories {     maven {        url "http://a1/artifactory/lib-releases"     }     maven {        url "http://a2/artifactory/lib-releases"     } } 

but suggest proxying a2 in a1, artifactory does.


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -