react-native-nitro-cookies 1.2.0 → 1.2.1
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 +8 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -21,7 +21,14 @@ def reactNativeArchitectures() {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
apply plugin: "com.android.library"
|
|
24
|
-
|
|
24
|
+
// AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
|
|
25
|
+
// itself. Applying the Kotlin plugin on top of it fails configuration with
|
|
26
|
+
// "Cannot add extension with name 'kotlin'". Only apply it when nothing has
|
|
27
|
+
// registered that extension yet.
|
|
28
|
+
if (project.extensions.findByName('kotlin') == null) {
|
|
29
|
+
apply plugin: "kotlin-android"
|
|
30
|
+
}
|
|
31
|
+
|
|
25
32
|
apply from: '../nitrogen/generated/android/nitrocookies+autolinking.gradle'
|
|
26
33
|
|
|
27
34
|
apply plugin: "com.facebook.react"
|