alexzh.com
Sharing code between local and instrumentation tests - Mobile development
Gradle allows you create source sets and configure folder for different part of you application: source code, instrumentation and local tests