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

Gradle plugin deprecated #20

Closed
vikrantnegi opened this issue Mar 10, 2023 · 4 comments
Closed

Gradle plugin deprecated #20

vikrantnegi opened this issue Mar 10, 2023 · 4 comments

Comments

@vikrantnegi
Copy link

Hi, I'm getting warning when trying to upgrade my gradle in Android.

The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.

@stephenkopylov
Copy link
Member

Hi @vikrantnegi

Sorry, but we're not going to make a migration only because of warnings - RN itself and lots of it's libraries are full of warnings

But if you'd like to migrate the library to View Binding - feel free to make a PR

@vikrantnegi
Copy link
Author

Hi @stephenkopylov

'kotlin-android-extensions' plugin is used for synthetic properties and since we are not using any, it is mainly unused. So it is safe to remove this which in turn will help with the warning.

@ManeeshBusi
Copy link

Hey @stephenkopylov,
I just installed the package on a new project and i've been getting the same error. It's preventing me from building the app and running it. Is there a workaround for this issue or is it something from my end?

@stephenkopylov
Copy link
Member

Hi again guys! The issue should be fixed in v2.2.1
Please take a look :)

PS: @vikrantnegi thanks for your advice!

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

3 participants