1212 snapshot = project. hasProperty(" snapshot" ) ? project. property(" snapshot" ). toBoolean() : false
1313 releaseTagPrefix = project. hasProperty(' RELEASE_TAG_PREFIX' ) ? project. property(' RELEASE_TAG_PREFIX' ) : ' mapbox-navigation-android_dash-core_'
1414 versionName = getVersionName()
15-
15+
16+ def ndkVersionSuffix = " "
17+ if (project. hasProperty(" ndkMajor" )) {
18+ ndkVersionSuffix = " -ndk${ project.property("ndkMajor")} "
19+ println (" Building with NDK version suffix: " + ndkVersionSuffix)
20+ }
21+
1622 /**
1723 * Properties used for artifact publishing.
1824 *
@@ -23,43 +29,43 @@ ext {
2329 * 2. The SDK name used in the SDK registry.
2430 */
2531 navSdkArtifactSettings = [
26- ' libnavigation-android' : new Tuple2 (' android' , ' navigation-core-android' ),
27- ' base' : new Tuple2 (' base' , ' navigation-core-base' ),
28- ' navigation' : new Tuple2 (' navigation' , ' navigation-core-navigation' ),
29- ' copilot' : new Tuple2 (' copilot' , ' navigation-core-copilot' ),
30- ' metrics' : new Tuple2 (' metrics' , ' navigation-core-metrics' ),
31- ' tripdata' : new Tuple2 (' tripdata' , ' navigation-core-tripdata' ),
32- ' utils' : new Tuple2 (' utils' , ' navigation-core-utils' ),
33- ' voice' : new Tuple2 (' voice' , ' navigation-core-voice' ),
34- ' navigator' : new Tuple2 (' navigator' , ' navigation-core-navigator' ),
35- ' ui-base' : new Tuple2 (' ui-base' , ' navigation-core-ui-base' ),
36- ' ui-maps' : new Tuple2 (' ui-maps' , ' navigation-core-ui-maps' ),
37- ' ui-utils' : new Tuple2 (' ui-utils' , ' navigation-core-ui-utils' ),
38- ' notification' : new Tuple2 (' notification' , ' navigation-core-notification' ),
39- ' search' : new Tuple2 (' search' , ' navigation-core-search' ),
40- ' ui-components' : new Tuple2 (' ui-components' , ' navigation-core-ui-components' ),
41- ' androidauto' : new Tuple2 (' android-auto-components' , ' navigation-core-androidauto' ),
42- ' libtesting-router' : new Tuple2 (' test-router' , ' navigation-core-testing-router' ),
43- ' libnavigation-custom-route' : new Tuple2 (' customroute' , ' navigation-core-custom-route' ),
44- ' datainputs' : new Tuple2 (' datainputs' , ' navigation-core-datainputs' ),
45- ' adasis' : new Tuple2 (' adasis' , ' navigation-core-adasis' ),
46- ' ev' : new Tuple2 (' ev ' , ' navigation-core-ev' ),
47- ' ev-rangemap' : new Tuple2 (' ev-rangemap' , ' navigation-core-ev-rangemap' ),
48- ' ev-ui' : new Tuple2 (' ev-ui' , ' navigation-core-ev-ui' ),
49- ' weather' : new Tuple2 (' weather' , ' navigation-core-weather' ),
50- ' roadcam' : new Tuple2 (' roadcam' , ' navigation-core-roadcam' ),
51- ' roadcam-ui' : new Tuple2 (' roadcam-ui' , ' navigation-core-roadcam-ui' ),
52- ' libnavigation-compose' : new Tuple2 (' compose' , ' navigation-core-compose' ),
53- ' libnavigation-compose-core' : new Tuple2 (' compose-core' , ' navigation-core-compose-core' ),
54- ' libnavigation-compose-foundation' : new Tuple2 (' compose-foundation' , ' navigation-core-compose-foundation' ),
55- ' coordination' : new Tuple2 (' coordination' , ' navigation-core-coordination' ),
56- ' coordination-full-hd' : new Tuple2 (' coordination-full-hd' , ' navigation-core-coordination-full-hd' ),
57- ' core-mapgpt' : new Tuple2 (' core-mapgpt' , ' navigation-core-mapgpt-core' ),
58- ' ui-mapgpt' : new Tuple2 (' ui-mapgpt' , ' navigation-core-mapgpt-ui' ),
59- ' applemusic-mapgpt' : new Tuple2 (' applemusic-mapgpt' , ' navigation-core-mapgpt-applemusic' ),
60- ' driver-notification' : new Tuple2 (' driver-notification' , ' navigation-core-driver-notification' ),
61- ' ev-driver-notification' : new Tuple2 (' ev-driver-notification' , ' navigation-core-ev-driver-notification' ),
62- ' audio' : new Tuple2 (' audio' , ' navigation-core-audio' ),
32+ ' libnavigation-android' : new Tuple2 (" android$n dkVersionSuffix " , ' navigation-core-android' ),
33+ ' base' : new Tuple2 (" base$n dkVersionSuffix " , ' navigation-core-base' ),
34+ ' navigation' : new Tuple2 (" navigation$n dkVersionSuffix " , ' navigation-core-navigation' ),
35+ ' copilot' : new Tuple2 (" copilot$n dkVersionSuffix " , ' navigation-core-copilot' ),
36+ ' metrics' : new Tuple2 (" metrics$n dkVersionSuffix " , ' navigation-core-metrics' ),
37+ ' tripdata' : new Tuple2 (" tripdata$n dkVersionSuffix " , ' navigation-core-tripdata' ),
38+ ' utils' : new Tuple2 (" utils$n dkVersionSuffix " , ' navigation-core-utils' ),
39+ ' voice' : new Tuple2 (" voice$n dkVersionSuffix " , ' navigation-core-voice' ),
40+ ' navigator' : new Tuple2 (" navigator$n dkVersionSuffix " , ' navigation-core-navigator' ),
41+ ' ui-base' : new Tuple2 (" ui-base$n dkVersionSuffix " , ' navigation-core-ui-base' ),
42+ ' ui-maps' : new Tuple2 (" ui-maps$n dkVersionSuffix " , ' navigation-core-ui-maps' ),
43+ ' ui-utils' : new Tuple2 (" ui-utils$n dkVersionSuffix " , ' navigation-core-ui-utils' ),
44+ ' notification' : new Tuple2 (" notification$n dkVersionSuffix " , ' navigation-core-notification' ),
45+ ' search' : new Tuple2 (" search$n dkVersionSuffix " , ' navigation-core-search' ),
46+ ' ui-components' : new Tuple2 (" ui-components$n dkVersionSuffix " , ' navigation-core-ui-components' ),
47+ ' androidauto' : new Tuple2 (" android-auto-components$n dkVersionSuffix " , ' navigation-core-androidauto' ),
48+ ' libtesting-router' : new Tuple2 (" test-router$n dkVersionSuffix " , ' navigation-core-testing-router' ),
49+ ' libnavigation-custom-route' : new Tuple2 (" customroute$n dkVersionSuffix " , ' navigation-core-custom-route' ),
50+ ' datainputs' : new Tuple2 (" datainputs$n dkVersionSuffix " , ' navigation-core-datainputs' ),
51+ ' adasis' : new Tuple2 (" adasis$n dkVersionSuffix " , ' navigation-core-adasis' ),
52+ ' ev' : new Tuple2 (" ev $n dkVersionSuffix " , ' navigation-core-ev' ),
53+ ' ev-rangemap' : new Tuple2 (" ev-rangemap$n dkVersionSuffix " , ' navigation-core-ev-rangemap' ),
54+ ' ev-ui' : new Tuple2 (" ev-ui$n dkVersionSuffix " , ' navigation-core-ev-ui' ),
55+ ' weather' : new Tuple2 (" weather$n dkVersionSuffix " , ' navigation-core-weather' ),
56+ ' roadcam' : new Tuple2 (" roadcam$n dkVersionSuffix " , ' navigation-core-roadcam' ),
57+ ' roadcam-ui' : new Tuple2 (" roadcam-ui$n dkVersionSuffix " , ' navigation-core-roadcam-ui' ),
58+ ' libnavigation-compose' : new Tuple2 (" compose$n dkVersionSuffix " , ' navigation-core-compose' ),
59+ ' libnavigation-compose-core' : new Tuple2 (" compose-core$n dkVersionSuffix " , ' navigation-core-compose-core' ),
60+ ' libnavigation-compose-foundation' : new Tuple2 (" compose-foundation$n dkVersionSuffix " , ' navigation-core-compose-foundation' ),
61+ ' coordination' : new Tuple2 (" coordination$n dkVersionSuffix " , ' navigation-core-coordination' ),
62+ ' coordination-full-hd' : new Tuple2 (" coordination-full-hd$n dkVersionSuffix " , ' navigation-core-coordination-full-hd' ),
63+ ' core-mapgpt' : new Tuple2 (" core-mapgpt$n dkVersionSuffix " , ' navigation-core-mapgpt-core' ),
64+ ' ui-mapgpt' : new Tuple2 (" ui-mapgpt$n dkVersionSuffix " , ' navigation-core-mapgpt-ui' ),
65+ ' applemusic-mapgpt' : new Tuple2 (" applemusic-mapgpt$n dkVersionSuffix " , ' navigation-core-mapgpt-applemusic' ),
66+ ' driver-notification' : new Tuple2 (" driver-notification$n dkVersionSuffix " , ' navigation-core-driver-notification' ),
67+ ' ev-driver-notification' : new Tuple2 (" ev-driver-notification$n dkVersionSuffix " , ' navigation-core-ev-driver-notification' ),
68+ ' audio' : new Tuple2 (" audio$n dkVersionSuffix " , ' navigation-core-audio' ),
6369 ]
6470}
6571
0 commit comments