plugins { id "net.ltgt.errorprone" version "0.0.13" } new RoboJavaModulePlugin( deploy: true ).apply(project) apply plugin: ShadowsPlugin shadows { packageName "org.robolectric.shadows.multidex" } dependencies { compileOnly project(":shadows:framework") compileOnly "com.android.support:multidex:1.0.1" compileOnly AndroidSdk.MAX_SDK.coordinates testCompile project(":robolectric") }