Skip to content

Old Gradle Build #175

@francktamala

Description

@francktamala

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-rsa-native@2.0.5 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-rsa-native/android/build.gradle b/node_modules/react-native-rsa-native/android/build.gradle
index 82f60d3..8f8fe8f 100644
--- a/node_modules/react-native-rsa-native/android/build.gradle
+++ b/node_modules/react-native-rsa-native/android/build.gradle
@@ -9,7 +9,7 @@ buildscript {
     if (project == rootProject) {
         repositories {
             google()
-            jcenter()
+            mavenCentral()
             maven {
                 url "https://maven.fabric.io/public"
             }
@@ -45,7 +45,7 @@ allprojects {
     repositories {
         mavenLocal()
         google()
-        jcenter()
+        mavenCentral()
         maven {
             // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
             url "$rootDir/../node_modules/react-native/android"

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