title: Can I Define The buildscript repositories In The Root Project For All Modules
body: <p>I have code similar to the following in each of my sub-modules but with different plugins</p>
  
  <pre><code>buildscript {
      ext {
          springBootVersion = '2.0.0.RELEASE'
      }
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
      }
  }
  </code></pre>
  
  <p>Can the repositories be set in the root project so I don't repeat it?</p>
  
  <p>I already have the main repositories section set in the root like this but this question is for the plugins and the <code>buildscript</code> section.</p>
  
  <pre><code>allprojects {
      repositories {
          jcenter()
          maven { url 'https://jitpack.io' }
      }
  } 
  </code></pre>