Android gradle - how to search multiple respositories for gradle dependencies
<p>So our group has a private maven repository with a large number of libraries 'in-house'. So there only available on a vpn.  bintray and jcenter is available on my vpn.  What i want to do is have gradle check for a dependency first on the private maven repo, if not found then search bintray/jcenter for the library.  How can i do this ? this is what i have tried:</p>

<p>In the top level build.gradle file i have:</p>

<pre><code>buildscript {
    repositories {
        maven { url "https://myprivateRepo.com/libraries"
    }
        jcenter()
    }
</code></pre>

<p>my assumption was that it would first check maven private repo and then check with jcenter afterwards but it seems to not be working, can anyone verify the set up ?</p>