Skip to content

Commit 7c79efa

Browse files
krifamedkrifa
andauthored
Chore/update android build config (#40)
* Replace deprecated jcenter() with mavenCentral() JCenter has been deprecated and shut down. This updates the Android build configuration to use mavenCentral() instead, which is the recommended Maven repository for Android dependencies. * Update Android Gradle plugin to 7.4.2 Updates the Android Gradle plugin from 3.5.4 to 7.4.2 for better compatibility with modern Android build tools and React Native versions. --------- Co-authored-by: krifa <mohamed.benkrifa@elona.health>
1 parent 7300b63 commit 7c79efa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ buildscript {
22
if (project == rootProject) {
33
repositories {
44
google()
5-
jcenter()
5+
mavenCentral()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.5.4'
9+
classpath 'com.android.tools.build:gradle:7.4.2'
1010
}
1111
}
1212
}
@@ -56,7 +56,7 @@ repositories {
5656
url("$rootDir/../node_modules/react-native/android")
5757
}
5858
google()
59-
jcenter()
59+
mavenCentral()
6060
}
6161

6262
dependencies {

0 commit comments

Comments
 (0)