title: Different dependencies for debug and release in gradle and Android Studio
body: <p>I have an Android project, that depends on pure Java project. Both of them depend on another Java library, also in my multiproject gradle set in Android Studio. I have two versions of that library and want both Android and Java projects to depend on one of them in debug mode, and another - in release.</p>
  
  <p>Is it possible for Android project? For pure Java project? How?</p>