title: Gradle: how to include dependencies from repositories to output aar file
body: <p>I am trying to build an arr package in Android Studio. This package contains dependecies for Zendesk:</p>
  
  <pre><code>allprojects {
      repositories {
          maven { url 'https://zendesk.artifactoryonline.com/zendesk/repo' }
      }
  }
  
  compile (group: 'com.zendesk', name: 'sdk', version: '1.7.0.1') {
      transitive = true
  }
  
  compile (group: 'com.zopim.android', name: 'sdk', version: '1.3.1.1') {
      transitive = true
  }
  </code></pre>
  
  <p>I want to build this package for a Unity3d project. This package should contain all dependecies for Zendesk (the transitive = true property). When I open the aar file there is no dependencies for Zendesk. What is wrong?</p>