In build.gradle I use
... releaseCompile('com.google.firebase:firebase-core:9.2.1') releaseCompile('com.google.firebase:firebase-ads:9.2.1') releaseCompile('com.google.firebase:firebase-crash:9.2.1') ...
In the debug version this is all I don’t need and I have to comment on parts of the code and imports so that there are no assembly errors. Is it possible to somehow automate this process so that gradle ignores dependent portions of code and imports?