@@ -10,27 +10,31 @@ dependencies {
10
10
def mapboxPluginsVersion = project. hasProperty(" mapboxPluginsVersion" ) ? project. mapboxPluginsVersion : " v9"
11
11
def mapboxAnnotationPluginVersion = project. hasProperty(" mapboxAnnotationPluginVersion" ) ? project. mapboxAnnotationPluginVersion : " 0.9.0"
12
12
def mapboxGesturesVersion = project. hasProperty(" mapboxGesturesVersion" ) ? project. mapboxGesturesVersion : " 0.7.0"
13
- def squareupVersion = project. hasProperty(" squareupVersion" ) ? project. mapboxGesturesVersion : " 4.9.0"
14
-
15
- implementation " com.mapbox.mapboxsdk:mapbox-android-telemetry:$mapboxTelemetryVersion "
16
-
17
- implementation " com.mapbox.mapboxsdk:mapbox-sdk-geojson:$mapboxServicesVersion "
18
-
19
- implementation (" com.mapbox.mapboxsdk:mapbox-android-sdk:$mapboxVersion " ){
13
+ def okHttpVersion = project. hasProperty(" okHttpVersion" ) ? project. okHttpVersion : " 4.9.0"
14
+ implementation (" com.mapbox.mapboxsdk:mapbox-android-sdk:$mapboxVersion " ) {
20
15
transitive= false
21
16
}
22
17
23
- implementation " com.mapbox.mapboxsdk:mapbox-android-gestures:$mapboxGesturesVersion "
24
-
25
- // service library
26
-
27
- implementation " com.mapbox.mapboxsdk:mapbox-sdk-services:$mapboxServicesVersion "
18
+ implementation (" com.mapbox.mapboxsdk:mapbox-android-telemetry:$mapboxTelemetryVersion " ) {
19
+ transitive= false
20
+ }
21
+ implementation (" com.mapbox.mapboxsdk:mapbox-sdk-geojson:$mapboxServicesVersion " ){
22
+ transitive= false
23
+ }
24
+ implementation (" com.mapbox.mapboxsdk:mapbox-android-gestures:$mapboxGesturesVersion " ){
25
+ transitive= false
26
+ }
27
+ implementation (" com.mapbox.mapboxsdk:mapbox-sdk-services:$mapboxServicesVersion " ){
28
+ transitive= false
29
+ }
30
+ implementation (" com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-$mapboxPluginsVersion :$mapboxAnnotationPluginVersion " ){
31
+ transitive= false
32
+ }
28
33
29
- // Annotation Plugin
34
+ implementation " com.squareup.okhttp3:okhttp: $o kHttpVersion "
30
35
31
- implementation " com.mapbox.mapboxsdk:mapbox-android-plugin-annotation- $m apboxPluginsVersion : $m apboxAnnotationPluginVersion "
36
+ println ' com.mapbox.mapboxsdk:mapbox-android-sdk:$mapboxVersion '
32
37
33
- implementation " com.squareup.okhttp3:okhttp:$squareupVersion "
34
38
}
35
39
36
40
android {
0 commit comments