Composite Builds and Flavors

So Gradle has this awesome feature called ‘Composite Builds’. I can include a project in my project and replace a maven dependency with a real project.

Weird Test Crash

So I have tried to run instrumentation tests by starting a corresponding gradle task: ./gradlew connectedAndroidTest.

The tests didn’t even start since the instrumentation process had crashed before that.