From 85d598d0b2c2e94abf0bfca7082fe56e7a71480c Mon Sep 17 00:00:00 2001 From: Martin Ndegwa Date: Sat, 14 Sep 2024 10:38:49 +0300 Subject: [PATCH] Upgrade Mapbox Turf dependency version --- build.gradle | 2 +- configs.gradle | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index c4c41fa2..f4790a1e 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ allprojects { url "https://dl.cloudsmith.io/public/terraframe/geoprism-registry/maven/" } maven { - url 'https://api.mapbox.com/downloads/v2/releases/maven' + url "https://api.mapbox.com/downloads/v2/releases/maven" authentication { basic(BasicAuthentication) } diff --git a/configs.gradle b/configs.gradle index b95df6d0..61c0adbf 100644 --- a/configs.gradle +++ b/configs.gradle @@ -109,6 +109,7 @@ ext { junitVersion = "4.13.2" mapboxAnnotationPluginVersion = "0.9.0" mapboxSdkVersion = "9.7.1" + mapboxSdkTurfVersion = "7.2.0" robolectricShadowsMultidexVersion = "4.13" robolectricVersion = "4.13" supportVersion = "1.0.0" @@ -119,15 +120,12 @@ ext { androidxTestCore = "androidx.test:core:$androidxTestCoreVersion" junit = "junit:junit:$junitVersion" mapboxSDK = "com.mapbox.mapboxsdk:mapbox-android-sdk:$mapboxSdkVersion" - mapboxSDKTurf = "com.mapbox.mapboxsdk:mapbox-sdk-turf:4.8.0" + mapboxSDKTurf = "com.mapbox.mapboxsdk:mapbox-sdk-turf:$mapboxSdkTurfVersion" mapboxAnnotationPlugin = "com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:$mapboxAnnotationPluginVersion" robolectric = "org.robolectric:robolectric:$robolectricVersion" robolectricShadowsMultidex = "org.robolectric:shadows-multidex:$robolectricShadowsMultidexVersion" } - -//ext.mapboxSDK = "com.mapbox.maps:android:10.7.0" - ext.mapboxDependencies = { instance, configuration -> configuration.implementation("com.mapbox.maps:android:$mapboxSdkVersion") { @@ -141,7 +139,7 @@ ext.mapboxDependencies = { instance, configuration -> // The local build has an issue fetching this library for some reason which // is a dependency of the mapbox-android-sdk. The mapbox-sdk-turf is declared as // a runtime dependency - configuration.implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:4.8.0' + configuration.implementation "com.mapbox.mapboxsdk:mapbox-sdk-turf:$instance.mapboxSdkTurfVersion" configuration.implementation "com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:${instance.mapboxAnnotationPluginVersion}" }