title: How can the gradle plugin repository be changed?
body: <p>I work at a big company with a strict policy forbidding the unfiltered use of outside libraries. We have to pull everything from blessed corporate repositories, and not the bare internet, including gradle.org. </p>
  
  <p>Using gradle's original apply plugin syntax, in conjunction with a buildscript block, I can add (blessed) plugins to our repo and use them in builds. In other words:</p>
  
  <pre><code>buildscript {
      repositories {
          maven { url "https://privaterepo.myemployer.com" }
      }
  
      dependencies {
          // various dependencies
          classpath "org.something:some-plugin:1.0"
          ...
      }
  
  apply plugin: "someplugin"
  </code></pre>
  
  <p>Instead, I want to be able to use the new plugins DSL, i.e.</p>
  
  <pre><code>plugins {
      id 'org.something.some-plugin' version '1.0'
  }
  </code></pre>
  
  <p>(I realize that the private repo url would need to be defined somewhere)</p>
  
  <p>The new plugin syntax always goes to gradle.org and does not appear to have any means to provide an alternate download url. Does anyone know of a way?</p>
  
  <p>I've scrutinized the documentation and the Internet and can't find the answer. Apologies if the answer is completely obvious.</p>
  
  <p>Many Thanks!</p>