@rnmapbox/maps 10.1.22 → 10.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +4 -11
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -13,11 +13,6 @@ def isNewArchitectureEnabled() {
|
|
|
13
13
|
return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
def getKotlinVersion() {
|
|
18
|
-
return rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : '1.6.21'
|
|
19
|
-
}
|
|
20
|
-
|
|
21
16
|
def getCoroutinesVersion(kotlinVersion) {
|
|
22
17
|
return kotlinVersion >= '1.9' ? '1.8.0' : '1.6.4'
|
|
23
18
|
}
|
|
@@ -30,17 +25,15 @@ if (rootProject.ext.has('expoRNMapboxMapsVersion')) {
|
|
|
30
25
|
rootProject.ext.set('RNMapboxMapsVersion', rootProject.ext.get('expoRNMapboxMapsVersion'))
|
|
31
26
|
}
|
|
32
27
|
|
|
33
|
-
project.ext.set("kotlinVersion", getKotlinVersion())
|
|
34
|
-
|
|
35
28
|
buildscript {
|
|
36
29
|
repositories {
|
|
37
30
|
google()
|
|
38
31
|
mavenCentral()
|
|
39
32
|
}
|
|
40
33
|
|
|
41
|
-
|
|
34
|
+
project.ext.set("kotlinVersion", rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : '1.7.21')
|
|
42
35
|
dependencies {
|
|
43
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
|
|
36
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${project.kotlinVersion}"
|
|
44
37
|
}
|
|
45
38
|
}
|
|
46
39
|
|
|
@@ -153,8 +146,8 @@ dependencies {
|
|
|
153
146
|
// React Native
|
|
154
147
|
implementation "com.facebook.react:react-native:+"
|
|
155
148
|
|
|
156
|
-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${safeExtGet('kotlinxCoroutinesCoreVersion', getCoroutinesVersion(
|
|
157
|
-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${safeExtGet('kotlinxCoroutinesAndroidVersion', getCoroutinesVersion(
|
|
149
|
+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${safeExtGet('kotlinxCoroutinesCoreVersion', getCoroutinesVersion(project.kotlinVersion))}"
|
|
150
|
+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${safeExtGet('kotlinxCoroutinesAndroidVersion', getCoroutinesVersion(project.kotlinVersion))}"
|
|
158
151
|
|
|
159
152
|
// Mapbox SDK
|
|
160
153
|
customizableDependencies('RNMapboxMapsLibs') {
|