@xbenjii/react-native-braintree-dropin-ui 2.2.0 → 2.4.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.
@@ -1,5 +1,7 @@
1
1
  import java.nio.file.Paths
2
2
  import com.android.Version
3
+ import groovy.json.JsonSlurper
4
+
3
5
 
4
6
  buildscript {
5
7
  repositories {
@@ -87,6 +89,11 @@ android {
87
89
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
88
90
  }
89
91
 
92
+ compileOptions {
93
+ sourceCompatibility JavaVersion.VERSION_1_8
94
+ targetCompatibility JavaVersion.VERSION_1_8
95
+ }
96
+
90
97
  buildFeatures {
91
98
  buildConfig true
92
99
  }
@@ -100,4 +107,5 @@ repositories {
100
107
  dependencies {
101
108
  implementation 'com.braintreepayments.api:drop-in:6.16.0'
102
109
  implementation "com.facebook.react:react-android:+"
110
+ implementation 'org.apache.groovy:groovy-json:4.0.22'
103
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xbenjii/react-native-braintree-dropin-ui",
3
- "version": "2.2.0",
3
+ "version": "2.4.0",
4
4
  "description": "> React Native integration of Braintree Drop-in IOS V4 ANDROID V2 (Apple Pay &Android Pay Enabled)",
5
5
  "main": "index.js",
6
6
  "dependencies": {},