title: How do I use tools:overrideLibrary in a build.gradle file?
body: <p>I'm using the leanback libraries, which require Android 17 or later.  However my app supports a minSDK of 16, so I get a build error from gradle saying</p>
  
  <pre><code>Error:Execution failed for task ':Tasks:processPhoneDebugManifest'.
  &gt; Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 17 declared in library /Users/mike/Projects/android-for-dummies-v3/Tasks/build/intermediates/exploded-aar/com.android.support/leanback-v17/21.0.2/AndroidManifest.xml
      Suggestion: use tools:overrideLibrary="android.support.v17.leanback" to force usage
  </code></pre>
  
  <p>When I look at the <a href="http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger#TOC-tools:overrideLibrary-marker">build tools documentation</a>, I see how to add the <code>overrideLibrary</code> marker to my manifest, but the problem is that I'm declaring my minSdk in my gradle file instead of in my manifest.</p>
  
  <p>How do I use <code>overrideLibrary</code> when the minSdk is declared in build.gradle instead of in AndroidManifest.xml?</p>