Skip to content

Commit 85d598d

Browse files
committed
Upgrade Mapbox Turf dependency version
1 parent 38f160b commit 85d598d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ allprojects {
3333
url "https://dl.cloudsmith.io/public/terraframe/geoprism-registry/maven/"
3434
}
3535
maven {
36-
url 'https://api.mapbox.com/downloads/v2/releases/maven'
36+
url "https://api.mapbox.com/downloads/v2/releases/maven"
3737
authentication {
3838
basic(BasicAuthentication)
3939
}

configs.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ ext {
109109
junitVersion = "4.13.2"
110110
mapboxAnnotationPluginVersion = "0.9.0"
111111
mapboxSdkVersion = "9.7.1"
112+
mapboxSdkTurfVersion = "7.2.0"
112113
robolectricShadowsMultidexVersion = "4.13"
113114
robolectricVersion = "4.13"
114115
supportVersion = "1.0.0"
@@ -119,15 +120,12 @@ ext {
119120
androidxTestCore = "androidx.test:core:$androidxTestCoreVersion"
120121
junit = "junit:junit:$junitVersion"
121122
mapboxSDK = "com.mapbox.mapboxsdk:mapbox-android-sdk:$mapboxSdkVersion"
122-
mapboxSDKTurf = "com.mapbox.mapboxsdk:mapbox-sdk-turf:4.8.0"
123+
mapboxSDKTurf = "com.mapbox.mapboxsdk:mapbox-sdk-turf:$mapboxSdkTurfVersion"
123124
mapboxAnnotationPlugin = "com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:$mapboxAnnotationPluginVersion"
124125
robolectric = "org.robolectric:robolectric:$robolectricVersion"
125126
robolectricShadowsMultidex = "org.robolectric:shadows-multidex:$robolectricShadowsMultidexVersion"
126127
}
127128

128-
129-
//ext.mapboxSDK = "com.mapbox.maps:android:10.7.0"
130-
131129
ext.mapboxDependencies = { instance, configuration ->
132130

133131
configuration.implementation("com.mapbox.maps:android:$mapboxSdkVersion") {
@@ -141,7 +139,7 @@ ext.mapboxDependencies = { instance, configuration ->
141139
// The local build has an issue fetching this library for some reason which
142140
// is a dependency of the mapbox-android-sdk. The mapbox-sdk-turf is declared as
143141
// a runtime dependency
144-
configuration.implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:4.8.0'
142+
configuration.implementation "com.mapbox.mapboxsdk:mapbox-sdk-turf:$instance.mapboxSdkTurfVersion"
145143
configuration.implementation "com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:${instance.mapboxAnnotationPluginVersion}"
146144

147145
}

0 commit comments

Comments
 (0)