forked from mapbox/mapbox-android-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
141 lines (125 loc) · 7.92 KB
/
dependencies.gradle
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
ext {
androidVersions = [
minSdkVersion : 15,
minWearSdkVersion: 23,
targetSdkVersion : 28,
compileSdkVersion: 28,
buildToolsVersion: '28.0.3'
]
version = [
// Mapbox
mapboxMapSdk : '7.4.0-beta.2',
mapboxTurf : '4.6.0',
mapboxServices : '4.6.0',
mapboxPluginBuilding : '0.5.0',
mapboxPluginPlaces : '0.8.0',
mapboxPluginLocalization : '0.9.0',
mapboxPluginTraffic : '0.8.0',
mapboxChinaPlugin : '2.1.1',
mapboxPluginMarkerView : '0.2.0',
mapboxPluginAnnotation : '0.6.0',
// Support
supportLib : '28.0.0',
constraintLayout : '1.1.3',
firebase : '11.0.4',
// Square
leakCanary : '1.5.4',
timber : '4.7.1',
okthttp3 : '3.8.1',
picasso : '2.5.2',
retrofit : '2.2.0',
// Other
gson : '2.8',
segmentAnalytics : '2.0.0',
materialStyleDialog : '2.1',
baseFab : '1.10.1',
materialDialogsCommons : '0.9.6.0',
espresso : '3.0.2',
testRunner : '1.0.2',
junit : '4.12',
supportAnnotations : '27.1.1',
kotlin : '1.2.70',
multiDex : '1.0.3'
]
wearVersion = [
googleWearable : '2.0.4',
googlePlayService: '11.0.4',
wearableUi : '27.0.0',
]
pluginVersion = [
checkstyle : '8.2',
firebase : '1.1.1',
gradle : '3.2.1',
gradlePlayPublisher: '1.2.2',
kotlin : '1.2.71',
dependencyGraph : '0.3.0',
grgit : '2.3.0'
]
dependenciesList = [
// Mapbox
mapboxMapSdk : "com.mapbox.mapboxsdk:mapbox-android-sdk:${version.mapboxMapSdk}",
mapboxTurf : "com.mapbox.mapboxsdk:mapbox-sdk-turf:${version.mapboxTurf}",
mapboxServices : "com.mapbox.mapboxsdk:mapbox-sdk-services:${version.mapboxServices}",
// Mapbox plugins
mapboxPluginBuilding : "com.mapbox.mapboxsdk:mapbox-android-plugin-building-v7:${version.mapboxPluginBuilding}",
mapboxPluginPlaces : "com.mapbox.mapboxsdk:mapbox-android-plugin-places-v7:${version.mapboxPluginPlaces}",
mapboxPluginLocalization : "com.mapbox.mapboxsdk:mapbox-android-plugin-localization-v7:${version.mapboxPluginLocalization}",
mapboxPluginTraffic : "com.mapbox.mapboxsdk:mapbox-android-plugin-traffic-v7:${version.mapboxPluginTraffic}",
mapboxChinaPlugin : "com.mapbox.mapboxsdk:mapbox-android-plugin-china:${version.mapboxChinaPlugin}",
mapboxPluginMarkerView : "com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v7:${version.mapboxPluginMarkerView}",
mapboxPluginAnnotation : "com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:${version.mapboxPluginAnnotation}",
// Support
supportV4 : "com.android.support:support-v4:${version.supportLib}",
supportAppcompatV7 : "com.android.support:appcompat-v7:${version.supportLib}",
supportDesign : "com.android.support:design:${version.supportLib}",
supportRecyclerView : "com.android.support:recyclerview-v7:${version.supportLib}",
supportCardView : "com.android.support:cardview-v7:${version.supportLib}",
supportGridLayout : "com.android.support:gridlayout-v7:${version.supportLib}",
supportCustomTabs : "com.android.support:customtabs:${version.supportLib}",
supportConstraintLayout : "com.android.support.constraint:constraint-layout:${version.constraintLayout}",
supportAnnotations : "com.android.support:support-annotations:${version.supportAnnotations}",
supportAnimation : "com.android.support:support-dynamic-animation:${version.supportLib}",
// Square
timber : "com.jakewharton.timber:timber:${version.timber}",
okhttp3 : "com.squareup.okhttp3:okhttp:${version.okthttp3}",
picasso : "com.squareup.picasso:picasso:${version.picasso}",
retrofit : "com.squareup.retrofit2:retrofit:${version.retrofit}",
retrofitGsonConverter : "com.squareup.retrofit2:converter-gson:${version.retrofit}",
leakCanaryDebug : "com.squareup.leakcanary:leakcanary-android:${version.leakCanary}",
leakCanaryRelease : "com.squareup.leakcanary:leakcanary-android-no-op:${version.leakCanary}",
// Firebase
firebaseCrash : "com.google.firebase:firebase-crash:${version.firebase}",
firebasePerf : "com.google.firebase:firebase-perf:${version.firebase}",
// Other
gson : "com.google.code.gson:gson:${version.gson}",
segmentAnalytics : "com.segment.analytics.java:analytics:${version.segmentAnalytics}",
materialStyleDialog : "com.github.javiersantos:MaterialStyledDialogs:${version.materialStyleDialog}",
baseFab : "com.getbase:floatingactionbutton:${version.baseFab}",
materialDialogsCommons : "com.afollestad.material-dialogs:commons:${version.materialDialogsCommons}",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${version.kotlin}",
multiDex : "com.android.support:multidex:${version.multiDex}",
// Testing
testEspressoCore : "com.android.support.test.espresso:espresso-core:${version.espresso}",
testEspressoIntents : "com.android.support.test.espresso:espresso-intents:${version.espresso}",
testEspressoContrib : "com.android.support.test.espresso:espresso-contrib:${version.espresso}",
testRunner : "com.android.support.test:runner:${version.testRunner}",
testRules : "com.android.support.test:rules:${version.testRunner}",
junit : "junit:junit:${version.junit}",
]
pluginDependencies = [
gradle : "com.android.tools.build:gradle:${pluginVersion.gradle}",
checkstyle : "com.puppycrawl.tools:checkstyle:${pluginVersion.checkstyle}",
firebase : "com.google.firebase:firebase-plugins:${pluginVersion.firebase}",
playPublisher : "com.github.triplet.gradle:play-publisher:${pluginVersion.gradlePlayPublisher}",
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${pluginVersion.kotlin}",
dependencyGraph : "com.vanniktech:gradle-dependency-graph-generator-plugin:${pluginVersion.dependencyGraph}",
grgit : "org.ajoberstar:grgit:${pluginVersion.grgit}"
]
wearDependencies = [
googleWearable : "com.google.android.wearable:wearable:${wearVersion.googleWearable}",
wearableUi : "com.android.support:wear:${wearVersion.wearableUi}",
supportGoogleWearable: "com.google.android.support:wearable:${wearVersion.googleWearable}",
gpsWearable : "com.google.android.gms:play-services-wearable:${wearVersion.googlePlayService}",
gpsLocation : "com.google.android.gms:play-services-location:${wearVersion.googlePlayService}"
]
}