summaryrefslogtreecommitdiff
path: root/platform/android/gradle/dependencies.gradle
blob: 0ec8bed8e541a79cd06a0757247c39ec8954c53f (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
ext {

    androidVersions = [
            minSdkVersion    : 14,
            targetSdkVersion : 28,
            compileSdkVersion: 28,
    ]

    versions = [
            mapboxServices  : '4.9.0',
            mapboxTelemetry : '4.5.1',
            mapboxCore      : '1.3.0',
            mapboxGestures  : '0.5.1',
            mapboxAccounts  : '0.2.0',
            supportLib      : '28.0.0',
            constraintLayout: '1.1.2',
            uiAutomator     : '2.1.3',
            espresso        : '3.0.2',
            testRunner      : '1.0.2',
            leakCanary      : '1.6.3',
            junit           : '4.12',
            mockito         : '3.0.0',
            mockk           : '1.9.3',
            robolectric     : '4.3',
            timber          : '4.7.1',
            okhttp          : '3.12.3',
            kotlin          : '1.3.41',
            licenses        : '0.8.5',
            bintray         : '1.8.4',
            artifactory     : '4.9.3',
            androidPublish  : '3.6.2',
            lint            : '26.4.2',
            gms             : '16.0.0',
            soLoader        : '0.6.1',
            jacoco          : '0.8.4',
            appcenter       : '1.4',
            ktlint          : '0.34.0',
            commonsIO       : '2.6'
    ]

    dependenciesList = [
            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}",
            mapboxAndroidAccounts  : "com.mapbox.mapboxsdk:mapbox-android-accounts:${versions.mapboxAccounts}",
            mapboxJavaTurf         : "com.mapbox.mapboxsdk:mapbox-sdk-turf:${versions.mapboxServices}",

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

            testRunner             : 'androidx.test:runner:1.1.0',
            testRules              : 'androidx.test:rules:1.1.0',
            testEspressoCore       : 'androidx.test.espresso:espresso-core:3.1.0',
            testEspressoIntents    : 'androidx.test.espresso:espresso-intents:3.1.0',
            testEspressoContrib    : 'androidx.test.espresso:espresso-contrib:3.1.0',
            testUiAutomator        : 'androidx.test.uiautomator:uiautomator:2.2.0',
            appCenter              : "com.microsoft.appcenter:espresso-test-extension:${versions.appcenter}",
            commonsIO              : "commons-io:commons-io:${versions.commonsIO}",
            supportAnnotations     : 'androidx.annotation:annotation:1.0.0',
            supportAppcompatV7     : 'androidx.appcompat:appcompat:1.0.0',
            supportFragmentV4      : 'androidx.fragment:fragment:1.0.0',
            supportUtilV4          : "com.android.support:support-core-utils:${versions.supportLib}",
            supportDesign          : 'com.google.android.material:material:1.0.0',
            supportRecyclerView    : 'androidx.recyclerview:recyclerview:1.0.0',
            supportConstraintLayout: 'androidx.constraintlayout:constraintlayout:1.1.3',

            gmsLocation            : "com.google.android.gms:play-services-location:${versions.gms}",
            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}",
            soLoader               : "com.facebook.soloader:soloader:${versions.soLoader}",

            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}",
            bintrayPlugin          : "com.jfrog.bintray.gradle:gradle-bintray-plugin:${versions.bintray}",
            artifactoryPlugin      : "org.jfrog.buildinfo:build-info-extractor-gradle:${versions.artifactory}",
            androidPublishPlugin   : "digital.wup:android-maven-publish:${versions.androidPublish}",
            jacocoPlugin           : "org.jacoco:org.jacoco.core:${versions.jacoco}",

            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}",
            ktlint                 : "com.pinterest:ktlint:${versions.ktlint}"
    ]
}