• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import org.robolectric.gradle.DeployedRoboJavaModulePlugin
2import org.robolectric.gradle.RoboJavaModulePlugin
3
4apply plugin: RoboJavaModulePlugin
5apply plugin: DeployedRoboJavaModulePlugin
6
7apply plugin: ShadowsPlugin
8
9shadows {
10    packageName "org.robolectric.shadows.gms"
11    sdkCheckMode "OFF"
12}
13
14dependencies {
15    compileOnly project(":shadows:framework")
16    api project(":annotations")
17    api libs.guava
18
19    compileOnly libs.bundles.play.services.base.for.shadows
20
21    compileOnly AndroidSdk.MAX_SDK.coordinates
22
23    testCompileOnly AndroidSdk.MAX_SDK.coordinates
24    testCompileOnly libs.bundles.play.services.base.for.shadows
25
26    testImplementation project(":robolectric")
27    testImplementation libs.junit4
28    testImplementation libs.truth
29    testImplementation libs.mockito
30    testRuntimeOnly libs.bundles.play.services.base.for.shadows
31
32    testRuntimeOnly AndroidSdk.MAX_SDK.coordinates
33}
34