aboutsummaryrefslogtreecommitdiff
path: root/shadows/playservices/build.gradle
blob: a1b862f2385541617289b8bbe61995cb17c06f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
new RoboJavaModulePlugin(
        deploy: true
).apply(project)

apply plugin: ShadowsPlugin

shadows {
    packageName "org.robolectric.shadows.gms"
    sdkCheckMode "OFF"
}

dependencies {
    compileOnly project(":shadows:framework")
    api project(":annotations")
    api "com.google.guava:guava:27.0.1-jre"

    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

    testCompileOnly AndroidSdk.MAX_SDK.coordinates
    testCompileOnly "com.google.android.gms:play-services-base:8.4.0"
    testCompileOnly "com.google.android.gms:play-services-basement:8.4.0"

    testImplementation project(":robolectric")
    testImplementation "junit:junit:4.12"
    testImplementation "com.google.truth:truth:0.42"
    testImplementation "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
}