react-native-upi icon indicating copy to clipboard operation
react-native-upi copied to clipboard

Could not find method compile() for arguments [project ':react-native-upi-payment']

Open shubhamchepe opened this issue 1 year ago • 3 comments

dependencies { classpath("com.android.tools.build:gradle:7.3.1") classpath("com.facebook.react:react-native-gradle-plugin") classpath 'com.google.gms:google-services:4.3.15' compile project(':react-native-upi-payment') }

shubhamchepe avatar Jun 14 '23 10:06 shubhamchepe

goto node_modules>react-native-upi-payment>android>build.gradle

dependencies { compile "com.facebook.react:react-native:+" // From node_modules compile 'com.google.code.gson:gson:2.8.0' }

change "compile" to "implementation"

dependencies { implementation "com.facebook.react:react-native:+" // From node_modules implementation 'com.google.code.gson:gson:2.8.0' }

pratteekshaurya1994 avatar Jun 18 '23 17:06 pratteekshaurya1994

@pratteekshaurya1994 Would you like to give a PR for the same, i can merge it and push a new bundle out on npm

nitish24p avatar Jun 20 '23 09:06 nitish24p

@nitish24p I have added a PR for the same. Please review it.

YadhuYk007 avatar Jun 21 '23 07:06 YadhuYk007