title: Gradle does not resolve transitive dependency inherited from parent pom
body: <p>I was converting a maven project into a gradle project,but I encountered a problem.</p>
  <p>Here is all i have:</p>
  <ul>
  <li>project A;</li>
  <li>Library B from third party, and also a dependency of A</li>
  <li>Pom C, parent of B</li>
  <li>Library D, a dependency of C</li>
  </ul>
  <p>So, as expected, project A should have a direct dependency B, and a transitive dependency D</p>
  <p>it works fine in maven form that project A can access library D.But in gradle form , gradle does not treat D as a dependency of project A,it just ignores this transitive denpendency.</p>
  <pre><code>`implementation 'group:B:version'`
  </code></pre>
  <p>How should it declear the depencency of B in gradle to get same result as in maven</p>
  <p>I know it is not a regular way to access D from A without declearing dependency,but I just want to archive the same goal as maven  with gradle.</p>
  <p>Thanks for your answer ,any help will be much appreciated.</p>