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 9.0 support #130

Open
stefan-rink opened this issue Sep 20, 2024 · 0 comments
Open

Gradle 9.0 support #130

stefan-rink opened this issue Sep 20, 2024 · 0 comments

Comments

@stefan-rink
Copy link

Since React Native version 0.75, the minimum Gradle version has been increased to 8.7.0.
With this change, certain items in build.gradle have been marked as deprecated:

Configure project :react-native-context-menu-view
Build file '.../node_modules/react-native-context-menu-view/android/build.gradle': line 71
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_6.html#jcenter_deprecation
at build_99n2ax57lomnvo3yfxisv4yqd$_run_closure2.doCall$original(.../node_modules/react-native-context-menu-view/android/build.gradle:71)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
at build_99n2ax57lomnvo3yfxisv4yqd.run(.../node_modules/react-native-context-menu-view/android/build.gradle:59)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '.../node_modules/react-native-context-menu-view/android/build.gradle': line 133
The AbstractCompile.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the destinationDirectory property instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_7.html#compile_task_wiring
at build_99n2ax57lomnvo3yfxisv4yqd$_run_closure4$_closure13$_closure16.doCall$original(.../node_modules/react-native-context-menu-view/android/build.gradle:133)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
at build_99n2ax57lomnvo3yfxisv4yqd$_run_closure4$_closure13.doCall$original(.../node_modules/react-native-context-menu-view/android/build.gradle:132)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)

In my case, it seems like this is breaking the android build entirely, but I'm not sure if another library is also causing issues.

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

1 participant