| plugins { |
| id "net.ltgt.errorprone" version "0.0.13" |
| } |
| |
| new RoboJavaModulePlugin( |
| deploy: true |
| ).apply(project) |
| |
| apply plugin: ShadowsPlugin |
| |
| shadows { |
| packageName "org.robolectric.shadows.gms" |
| } |
| |
| dependencies { |
| compileOnly project(":shadows:framework") |
| |
| compileOnly "com.android.support:support-fragment:26.0.1" |
| compileOnly "com.google.android.gms:play-services-base:8.4.0" |
| compileOnly "com.google.android.gms:play-services-basement:8.4.0" |
| |
| compileOnly AndroidSdk.MAX_SDK.coordinates |
| |
| // Testing dependencies |
| testCompile project(":robolectric") |
| testCompile "junit:junit:4.12" |
| testCompile "com.google.truth:truth:0.39" |
| testCompile "org.mockito:mockito-core:2.5.4" |
| testRuntime "com.android.support:support-fragment:26.0.1" |
| testRuntime "com.google.android.gms:play-services-base:8.4.0" |
| testRuntime "com.google.android.gms:play-services-basement:8.4.0" |
| |
| testRuntime AndroidSdk.MAX_SDK.coordinates |
| } |