@breeztech/breez-sdk-spark-react-native 0.24.1 → 0.26.0

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.
@@ -26,7 +26,13 @@ def isNewArchitectureEnabled() {
26
26
  }
27
27
 
28
28
  apply plugin: "com.android.library"
29
- apply plugin: "kotlin-android"
29
+ // AGP 9 ships built-in Kotlin support and registers the `kotlin` extension
30
+ // itself. Applying the Kotlin plugin on top of it fails configuration with
31
+ // "Cannot add extension with name 'kotlin'". Only apply it when nothing has
32
+ // registered that extension yet.
33
+ if (project.extensions.findByName('kotlin') == null) {
34
+ apply plugin: "kotlin-android"
35
+ }
30
36
 
31
37
  if (isNewArchitectureEnabled()) {
32
38
  apply plugin: "com.facebook.react"