title: Android Studio Gradle new "apply plugin"
body: <p>All of the tutorials I've read for Gradle explain that the <code>build.gradle</code> file should contain either:</p>
  
  <pre><code>apply plugin: 'android'
  </code></pre>
  
  <p>or </p>
  
  <pre><code>apply plugin: 'android-library'
  </code></pre>
  
  <p>However, I've just built a new project with Android Studio 0.8.6 and my <code>build.gradle</code> now has:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  </code></pre>
  
  <hr>
  
  <ol>
  <li>Is it purely a syntax change or is there some deeper purpose?</li>
  <li>What is the new syntax for creating an android library?</li>
  </ol>