summaryrefslogtreecommitdiff
path: root/platform/android/gradle/dependencies.gradle
blob: 86571bb05a280aab6f2cd8d2c7d79f2b15ee7de3 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
ext {

    androidVersions = [
            minSdkVersion    : 14,
            targetSdkVersion : 27,
            compileSdkVersion: 27,
            buildToolsVersion: '27.0.3'
    ]

    versions = [
            mapboxServices : '3.4.1',
            mapboxTelemetry: '3.1.5',
            mapboxGestures : '0.2.0',
            supportLib     : '27.1.1',
            espresso       : '3.0.2',
            testRunner     : '1.0.2',
            leakCanary     : '1.6.1',
            junit          : '4.12',
            mockito        : '2.18.3',
            robolectric    : '3.8',
            timber         : '4.7.1',
            okhttp         : '3.11.0',
            kotlin         : '1.2.51',
            licenses       : '0.8.41',
            lint           : '26.1.3'
    ]

    dependenciesList = [
            mapboxJavaServices    : "com.mapbox.mapboxsdk:mapbox-sdk-services:${versions.mapboxServices}",
            mapboxJavaGeoJSON     : "com.mapbox.mapboxsdk:mapbox-sdk-geojson:${versions.mapboxServices}",
            mapboxAndroidTelemetry: "com.mapbox.mapboxsdk:mapbox-android-telemetry:${versions.mapboxTelemetry}",
            mapboxAndroidGestures : "com.mapbox.mapboxsdk:mapbox-android-gestures:${versions.mapboxGestures}",

            // for testApp
            mapboxJavaTurf        : "com.mapbox.mapboxsdk:mapbox-sdk-turf:${versions.mapboxServices}",

            junit                 : "junit:junit:${versions.junit}",
            mockito               : "org.mockito:mockito-core:${versions.mockito}",
            robolectric           : "org.robolectric:robolectric:${versions.robolectric}",

            testRunner            : "com.android.support.test:runner:${versions.testRunner}",
            testRules             : "com.android.support.test:rules:${versions.testRunner}",
            testEspressoCore      : "com.android.support.test.espresso:espresso-core:${versions.espresso}",
            testEspressoIntents   : "com.android.support.test.espresso:espresso-intents:${versions.espresso}",
            testEspressoContrib   : "com.android.support.test.espresso:espresso-contrib:${versions.espresso}",

            supportAnnotations    : "com.android.support:support-annotations:${versions.supportLib}",
            supportAppcompatV7    : "com.android.support:appcompat-v7:${versions.supportLib}",
            supportFragmentV4     : "com.android.support:support-fragment:${versions.supportLib}",
            supportUtilV4         : "com.android.support:support-core-utils:${versions.supportLib}",
            supportDesign         : "com.android.support:design:${versions.supportLib}",
            supportRecyclerView   : "com.android.support:recyclerview-v7:${versions.supportLib}",

            gmsLocation           : 'com.google.android.gms:play-services-location:11.0.4',
            timber                : "com.jakewharton.timber:timber:${versions.timber}",
            okhttp3               : "com.squareup.okhttp3:okhttp:${versions.okhttp}",
            leakCanaryDebug       : "com.squareup.leakcanary:leakcanary-android:${versions.leakCanary}",
            leakCanaryRelease     : "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leakCanary}",

            kotlinLib             : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
            kotlinPlugin          : "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
            licensesPlugin        : "com.jaredsburrows:gradle-license-plugin:${versions.licenses}",

            lint                  : "com.android.tools.lint:lint:${versions.lint}",
            lintApi               : "com.android.tools.lint:lint-api:${versions.lint}",
            lintChecks            : "com.android.tools.lint:lint-checks:${versions.lint}",
            lintTests            : "com.android.tools.lint:lint-tests:${versions.lint}"
    ]
}