title: IntelliJ Idea Android Projects including un-watned files in apk
body: <p>I have a complex app structure, main project has android libraries which have their own android libraries and jars.</p>
  
  <p>Main Project</p>
  
  <ul>
  <li>Libs
  <ul>
  <li>Android Lib project A
  <ul>
  <li>Jars</li>
  <li>Android Lib project B</li>
  </ul></li>
  <li>Jars</li>
  </ul></li>
  </ul>
  
  <p>For clarification I have an android library project which has an ActionBarSherlock dependency and Facebook dependency, I use this library project between a few similar apps.</p>
  
  <p>In the past I was able to just add the libraries as dependencies and it would build only the android related files (src/res) but now it is including everything in the path (tests, docs, example folders, websites).</p>
  
  <p>I'm not sure what changed but my apks are now being stuffed with a lot of files I don't want and I'm not sure where to specify to not include them. </p>
  
  <p>note: The reason why I can't just "remove" the unwanted files is because I'm cloning down the repos with submodules.</p>
  
  <p>I'm using IntelliJ Idea 11.1.2 and android r20</p>
  
  <p><strong>Update:</strong>
  Here is a sample project of the problem I'm having: <a href="http://dl.dropbox.com/u/713581/TestDependency.zip" rel="nofollow">http://dl.dropbox.com/u/713581/TestDependency.zip</a></p>