title: Gradle include dependencies of a dependency
body: <p><strong>Scenario</strong></p>
  
  <p>I have two Android libraries:</p>
  
  <ul>
  <li>Library A</li>
  <li>Library B</li>
  </ul>
  
  <p>Library B depends on Library A and includes it from its build.gradle.</p>
  
  <p>My Android app needs to use Library B and some base classes from Library A. The only success I've had in doing this is including both libraries in my Android app's build.gradle and setting transitive to false.</p>
  
  <p><strong>Question</strong>:</p>
  
  <p>Is there a way for me to only add Library B and have access to its dependency from my Android app?</p>
  
  <hr>
  
  <p><strong>Android Studio</strong></p>
  
  <pre><code>Android Studio 3.1 Canary
  Build #AI-171.4415322, built on October 24, 2017
  JRE: 1.8.0_152-release-1012-b01 x86_64
  JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  Mac OS X 10.12.6
  </code></pre>
  
  <p><strong>Gradle</strong></p>
  
  <pre><code>3.1.0-alpha01
  </code></pre>