react-native-bluebreeze 1.0.0 → 1.0.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 +7 -0
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -22,6 +22,13 @@ def isNewArchitectureEnabled() {
|
|
|
22
22
|
|
|
23
23
|
apply plugin: "com.android.library"
|
|
24
24
|
|
|
25
|
+
// Some AGP versions register their own "kotlin" extension. We only apply
|
|
26
|
+
// the Kotlin Gradle plugin if that hasn't already happened, to avoid
|
|
27
|
+
// "Cannot add extension with name 'kotlin'" failures.
|
|
28
|
+
if (project.extensions.findByName("kotlin") == null) {
|
|
29
|
+
apply plugin: "kotlin-android"
|
|
30
|
+
}
|
|
31
|
+
|
|
25
32
|
if (isNewArchitectureEnabled()) {
|
|
26
33
|
apply plugin: "com.facebook.react"
|
|
27
34
|
}
|
package/package.json
CHANGED