From a9da36a94f0b1da7e4d2d8aeb428efcb1956e648 Mon Sep 17 00:00:00 2001 From: Md Azad Date: Tue, 30 Apr 2024 11:43:54 +0530 Subject: [PATCH] Replace deprecated jcenter() with mavenCentral() --- android/build.gradle | 6 +++--- example/android/build.gradle | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 8fce879d..4144c6ca 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' repositories { mavenLocal() - jcenter() + mavenCentral() maven { // For developing the library outside the context of the example app, expect `react-native` // to be installed at `./node_modules`. @@ -40,7 +40,7 @@ android { buildscript { if (project == rootProject) { repositories { - jcenter() + mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:3.3.2' @@ -53,7 +53,7 @@ buildscript { allprojects { repositories { - jcenter() + mavenCentral() } } diff --git a/example/android/build.gradle b/example/android/build.gradle index 28f7ec64..e6b8860d 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -9,7 +9,7 @@ buildscript { } repositories { google() - jcenter() + mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:3.4.2") @@ -32,7 +32,7 @@ allprojects { } google() - jcenter() + mavenCentral() maven { url 'https://jitpack.io' } } }