title: Android studio make jar file with dependencies
body: <p>I want to use android studio to make a library project to a jar file which contains many jar files and library projects like this: </p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile project(':app:libraries:MyLibrary:app')
      compile 'com.luckycatlabs:SunriseSunsetCalculator:1.2' 
      compile project(':app:libraries:MyLibrary:app:libraries:MySubLibrary:app')
  }
  </code></pre>
  
  <p>How can I make a jar file with all this dependencies and own class files?</p>