11ext {
22 def kotlinVersion = " 1.5.31"
33
4+ def ndkVersionSuffix = " "
5+ if (project. hasProperty(" ndkMajor" )) {
6+ ndkVersionSuffix = " -ndk${ project.property("ndkMajor")} "
7+ println (" Building with NDK version suffix: " + ndkVersionSuffix)
8+ }
9+
410 androidVersions = [
511 minSdkVersion : 21 ,
612 targetSdkVersion : 34 ,
1319 // version which we should use in this build
1420 def mapboxNavigatorVersion = System . getenv(" FORCE_MAPBOX_NAVIGATION_NATIVE_VERSION" )
1521 if (mapboxNavigatorVersion == null || mapboxNavigatorVersion == ' ' ) {
16- mapboxNavigatorVersion = ' 206.0.0 '
22+ mapboxNavigatorVersion = ' 206.2.2 '
1723 }
1824 println (" Navigation Native version: " + mapboxNavigatorVersion)
1925 def androidXWorkManagerVersion = project. hasProperty(' WORK_MANAGER_VERSION' ) ? project. property(' WORK_MANAGER_VERSION' ) : ' 2.7.0'
@@ -22,10 +28,10 @@ ext {
2228 println (" AndroidX Lifecycle version: " + androidXLifecycleVersion)
2329
2430 version = [
25- mapboxMapSdk : ' 10.18.3 ' ,
31+ mapboxMapSdk : ' 10.19.0 ' ,
2632 mapboxSdkServices : ' 7.1.0' ,
2733 mapboxNavigator : " ${ mapboxNavigatorVersion} " ,
28- mapboxCommonNative : ' 23.10.1 ' ,
34+ mapboxCommonNative : ' 23.11.4 ' ,
2935 mapboxCrashMonitor : ' 2.0.0' ,
3036 mapboxAnnotationPlugin : ' 0.8.0' ,
3137 mapboxBaseAndroid : ' 0.8.0' ,
@@ -73,23 +79,23 @@ ext {
7379 ]
7480 dependenciesList = [
7581 // mapbox
76- mapboxMapSdk : " com.mapbox.maps:android:${ version.mapboxMapSdk} " ,
82+ mapboxMapSdk : " com.mapbox.maps:android$n dkVersionSuffix :${ version.mapboxMapSdk} " ,
7783 mapboxSdkServices : " com.mapbox.mapboxsdk:mapbox-sdk-services:${ version.mapboxSdkServices} " ,
7884 mapboxSdkServicesCore : " com.mapbox.mapboxsdk:mapbox-sdk-core:${ version.mapboxSdkServices} " ,
7985 mapboxSdkGeoJSON : " com.mapbox.mapboxsdk:mapbox-sdk-geojson:${ version.mapboxSdkServices} " ,
8086 mapboxSdkTurf : " com.mapbox.mapboxsdk:mapbox-sdk-turf:${ version.mapboxSdkServices} " ,
8187 mapboxSdkDirectionsModels : " com.mapbox.mapboxsdk:mapbox-sdk-directions-models:${ version.mapboxSdkServices} " ,
8288 mapboxSdkRefreshModels : " com.mapbox.mapboxsdk:mapbox-sdk-directions-refresh-models:${ version.mapboxSdkServices} " ,
83- mapboxNavigator : " com.mapbox.navigator:mapbox-navigation-native:${ version.mapboxNavigator} " ,
84- mapboxCommonNative : " com.mapbox.common:common:${ version.mapboxCommonNative} " ,
89+ mapboxNavigator : " com.mapbox.navigator:mapbox-navigation-native$n dkVersionSuffix :${ version.mapboxNavigator} " ,
90+ mapboxCommonNative : " com.mapbox.common:common$n dkVersionSuffix :${ version.mapboxCommonNative} " ,
8591 mapboxMapsAndroidAuto : " com.mapbox.extension:maps-androidauto:${ version.mapboxMapsAndroidAuto} " ,
8692 mapboxSearchAndroidAuto : " com.mapbox.search:mapbox-search-android:${ version.mapboxSearchAndroidAuto} " ,
8793
8894 /**
8995 * explicitly define Mapbox OkHttp dependency so that we are sure it's in sync with the Common SDK version we define
9096 * and we're not relying on Mapbox OKHttp coming in transitively
9197 */
92- mapboxCommonOkHttp : " com.mapbox.common:okhttp:${ version.mapboxCommonNative} " ,
98+ mapboxCommonOkHttp : " com.mapbox.common:okhttp$n dkVersionSuffix :${ version.mapboxCommonNative} " ,
9399 mapboxAnnotationPlugin : " com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:${ version.mapboxAnnotationPlugin} " ,
94100 mapboxCrashMonitor : " com.mapbox.crashmonitor:mapbox-crash-monitor-native:${ version.mapboxCrashMonitor} " ,
95101 mapboxAnnotations : " com.mapbox.base:annotations:${ version.mapboxBaseAndroid} " ,
@@ -190,12 +196,12 @@ ext {
190196 // Used by license. Add this dependency explicitly,
191197 // because the version used by license has been removed from the repository.
192198 // This dependency may be removed when we bump license version.
193- kotlinHtmlJvm : ' 0.7.2 ' ,
199+ kotlinHtmlJvm : ' 0.7.3 ' ,
194200 jacoco : ' 0.2' ,
195201 googleServices : ' 4.3.3' ,
196202 mapboxSdkVersions : ' 1.1.3' ,
197203 dokka : ' 1.6.21' ,
198- mapboxSdkRegistry : ' 0.7.0 ' ,
204+ mapboxSdkRegistry : ' 1.4.1 ' ,
199205 mapboxAccessToken : ' 0.2.1' ,
200206 mapboxNativeDownload : ' 0.2.2' ,
201207 firebaseCrashlytics : ' 2.5.1'
0 commit comments