summaryrefslogtreecommitdiff
path: root/platform/android/dependencies.gradle
blob: 3d8f48b46b7e1a40046dfeed13605e66f97d74cf (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
ext {
    minSdkVersion = 15
    targetSdkVersion = 25
    compileSdkVersion = 25
    buildToolsVersion = "25.0.2"

    versionCode = 11
    versionName = "5.0.0"

    mapboxServicesVersion = "2.1.3"
    supportLibVersion = "25.3.1"
    wearableVersion = '2.0.0'
    espressoVersion = '2.2.2'
    testRunnerVersion = '0.5'
    leakCanaryVersion = '1.5'

    dep = [
            // mapbox
            mapboxJavaServices     : "com.mapbox.mapboxsdk:mapbox-java-services:${mapboxServicesVersion}@jar",
            mapboxJavaGeoJSON      : "com.mapbox.mapboxsdk:mapbox-java-geojson:${mapboxServicesVersion}@jar",
            mapboxAndroidTelemetry : "com.mapbox.mapboxsdk:mapbox-android-telemetry:${mapboxServicesVersion}@aar",

            // mapzen lost
            lost                   : 'com.mapzen.android:lost:1.1.1',

            // unit test
            junit                  : 'junit:junit:4.12',
            mockito                : 'org.mockito:mockito-core:2.2.27',

            // instrumentation test
            testSpoonRunner        : 'com.squareup.spoon:spoon-client:1.6.2',
            testRunner             : "com.android.support.test:runner:${testRunnerVersion}",
            testRules              : "com.android.support.test:rules:${testRunnerVersion}",
            testEspressoCore       : "com.android.support.test.espresso:espresso-core:${espressoVersion}",
            testEspressoIntents    : "com.android.support.test.espresso:espresso-intents:${espressoVersion}",

            // support
            supportAnnotations     : "com.android.support:support-annotations:${supportLibVersion}",
            supportAppcompatV7     : "com.android.support:appcompat-v7:${supportLibVersion}",
            supportV4              : "com.android.support:support-v4:${supportLibVersion}",
            supportDesign          : "com.android.support:design:${supportLibVersion}",
            supportRecyclerView    : "com.android.support:recyclerview-v7:${supportLibVersion}",

            // wear
            wearCompile            : "com.google.android.support:wearable:${wearableVersion}",
            wearProvided           : "com.google.android.wearable:wearable:${wearableVersion}",

            // square crew
            timber                 : 'com.jakewharton.timber:timber:4.5.1',
            okhttp3                : 'com.squareup.okhttp3:okhttp:3.8.0',
            leakCanaryDebug        : "com.squareup.leakcanary:leakcanary-android:${leakCanaryVersion}",
            leakCanaryRelease      : "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryVersion}",
            leakCanaryTest         : "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryVersion}"
    ]
}