function patchGradleByRNVersion() {
  updateGradleWrapperSync();
  patchSettingsGradle();
  patchGradlePropertiesSync();
}
Update the Gradle wrapper to the version that matches the React Native version.