title: How to exclude transitive dependencies of other subproject in multiproject builds?
body: <p>In <code>Build.scala</code> I have a dependency between projects:</p>
  
  <pre><code>val coreLib = Projects.coreLib()
  val consoleApp = Projects.consoleApp().dependsOn(coreLib)
  val androidApp = Projects.androidProject().dependsOn(coreLib/*, exclusions = xpp */)
  </code></pre>
  
  <p>Core library project defines a library in its <code>libraryDependencies</code> (XPP parser), which I want to exclude in <code>androidApp</code>, since Android framework have its own XPP implementation out of the box.</p>
  
  <p>How can I exclude XPP library from transitive dependencies of <code>coreLib</code> in <code>androidApp</code> project?</p>
  
  <p>EDIT:</p>
  
  <p>According to my research exclusion is possible ONLY to <code>ModuleID</code> which is used in conjunction with <code>libraryDependency</code>. Meanwhile <code>dependsOn</code> puts all transitive dependencies to classpath, there is no way in api to exclude some transitive dependencies of this project, you <code>dependsOn</code></p>
  
  <p>DETAILS:</p>
  
  <p>I'm running sbt 0.13.5 currently.</p>
  
  <p><code>libraryDependencies</code> of commonLib as well as it various settings supplied in build.sbt so that this project could be reused as standalone, and because it feels right and natural way of supplying settings in <code>sbt</code>.</p>