react-native-context-menu-view
react-native-context-menu-view copied to clipboard
Gradle 9.0 support
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.