rns-mediapicker 0.0.2 → 0.0.3
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 +7 -4
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -35,13 +35,16 @@ android {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
dependencies {
|
|
38
|
-
//
|
|
38
|
+
// 1. Resolve the version locally so it never fails
|
|
39
|
+
def kotlinVersion = safeExtGet('kotlinVersion', safeExtGet('kotlin_version', '1.9.24'))
|
|
40
|
+
|
|
41
|
+
// 2. React Native dependency
|
|
39
42
|
implementation "com.facebook.react:react-native:+"
|
|
40
43
|
|
|
41
|
-
//
|
|
42
|
-
implementation "org.jetbrains.kotlin:kotlin-stdlib:$
|
|
44
|
+
// 3. Use the local variable (no $ sign needed if used this way, or use ${kotlinVersion})
|
|
45
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
|
43
46
|
|
|
44
|
-
// AndroidX
|
|
47
|
+
// 4. AndroidX dependencies
|
|
45
48
|
implementation "androidx.core:core-ktx:1.12.0"
|
|
46
49
|
implementation "androidx.appcompat:appcompat:1.6.1"
|
|
47
50
|
}
|