title: Best practice for buildscript tag in build.gradle of library projects
body: <p>I'm wondering what is the best / intended way of defining build script repositories and dependencies for Android library projects.</p>
  
  <p>Out in the wild (like Github) most of the repos define the following in there build.gradle</p>
  
  <pre><code>buildscript {
  repositories {
      jcenter()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:1.0.0'
  } }
  </code></pre>
  
  <p>But if I create a library project in Android Studio this buildscript block does not get created, as it is already in the root build.gradle file, and therefore not necessary (I assume).</p>
  
  <p>So what is the proper way, only defining it once in the root build.gradle or for each library project (which also means updating the version number for each library in case of new plugin versions). Or does it depend whether I want to release the library independently from my main application?</p>