Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'compile' is obsolete (will be removed on Gradle 7.0) #24

Closed
liAmirali opened this issue Oct 24, 2021 · 2 comments
Closed

'compile' is obsolete (will be removed on Gradle 7.0) #24

liAmirali opened this issue Oct 24, 2021 · 2 comments

Comments

@liAmirali
Copy link
Contributor

liAmirali commented Oct 24, 2021

When I try to build my app for android, I get the following warning:

> Configure project :react-native-sms-x
WARNING:: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.

I guess this line is causing the problem:

compile "com.facebook.react:react-native:+" // From node_modules.

@PruebasCedum
Copy link

same, so i try use implementation ":react-native-sms-x" in the build.gradle, but no work 😔

@liAmirali
Copy link
Contributor Author

same, so i try use implementation ":react-native-sms-x" in the build.gradle, but no work pensive

Did you change it in your app's build.gradle file or the module's file?
Take a look at the line I've linked in the first comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants