plugins { id "net.ltgt.errorprone" version "0.0.13" } apply plugin: RoboJavaModulePlugin // test with a project that depends on the stubs jar, not org.robolectric:android-all dependencies { compile project(":robolectric") compile "junit:junit:4.12" testCompile "com.google.android:android-stubs:27" // Testing dependencies testCompile "org.assertj:assertj-core:3.8.0" testCompile "org.mockito:mockito-core:2.5.4" }