title: Gradle, How To Disable All Transitive Dependencies
body: <p>Many of my jars have conflicting transitive dependencies (multiple spring versions). I would like to avoid inherited version conflicts by managing all of my dependencies explicitly, is it possible to disable all transitive dependencies in Gradle? </p>
  
  <p>I know I can add <code>transitive = false</code> to each of my dependencies, but I am hoping there is a simpler way.</p>
  
  <pre><code>compile(group: 'org.springframework', name: 'spring', version: '2.5.2') {
      transitive = false
  }
  </code></pre>