title: Unity project as dependency in Gradle
body: <p>I am trying to import an unity3d project to my android project as a module. All is okay, gradle sync finish without error, but when i add unity project as dependency to my project and run gradle sync then it says:</p>
  
  <pre><code>Error:Dependency myapplication:unityproject:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: /Users/michal/Documents/Projects/myapplication/unityproject/build/outputs/apk/unityproject-release-unsigned.apk
  </code></pre>
  
  <p>I tried google it, but with no luck... Thanks a lot for any tips...
  I am using Android Studio (if it helps)﻿</p>
  
  <p>I can build and run standalone unity3d project on mobile device, problem is only when i am trying to add it as module (dependency) to another project</p>