title: Android Studio Gradle - set module build variant
body: <p>I am setting up project that has a dependancy to one module, and I could successfully make APK file. All I did was adding</p>
  
  <blockquote>
    <p>compile project(':ModuleName')</p>
  </blockquote>
  
  <p>However I am wondering if I can have module dependancy with build variance.
  So, <em>[Project:<strong>debug</strong>]</em> depends on <em>[Module:<strong>debug</strong>]</em>, and <em>[Project:<strong>release</strong>]</em> depends on <em>[Module:<strong>release</strong>]</em></p>
  
  <p>Thanks!</p>