Skip to content

Use mavenCentral() instead of jcenter() in build.gradel for new react-native versions #183

@maria98kgm

Description

@maria98kgm

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-exception-handler@2.10.10 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-exception-handler/android/build.gradle b/node_modules/react-native-exception-handler/android/build.gradle
index c1dca20..0b17ad7 100644
--- a/node_modules/react-native-exception-handler/android/build.gradle
+++ b/node_modules/react-native-exception-handler/android/build.gradle
@@ -1,7 +1,7 @@
 
 buildscript {
     repositories {
-        jcenter()
+        mavenCentral()
     }
 
     dependencies {
@@ -44,4 +44,3 @@ repositories {
 dependencies {
     implementation 'com.facebook.react:react-native:+'
 }
-  
\ No newline at end of file

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions