@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.
@@ -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
- def kotlinVersion = this.kotlinVersion
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(getKotlinVersion()))}"
157
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${safeExtGet('kotlinxCoroutinesAndroidVersion', getCoroutinesVersion(getKotlinVersion()))}"
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') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rnmapbox/maps",
3
3
  "description": "A Mapbox react native module for creating custom maps",
4
- "version": "10.1.22",
4
+ "version": "10.1.23",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },