Skip to content

Commit 726ab0e

Browse files
authored
Replace JCenter with mavenCentral (#396)
1 parent 4979f60 commit 726ab0e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
}
1111
repositories {
1212
google()
13-
jcenter()
13+
mavenCentral()
1414
}
1515
dependencies {
1616
classpath 'com.android.tools.build:gradle:3.2.1'
@@ -24,7 +24,7 @@ allprojects {
2424
repositories {
2525
mavenLocal()
2626
google()
27-
jcenter()
27+
mavenCentral()
2828
maven {
2929
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
3030
url "$rootDir/../node_modules/react-native/android"

example/android/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
}
1111
repositories {
1212
google()
13-
jcenter()
13+
mavenCentral()
1414
}
1515
dependencies {
1616
classpath("com.android.tools.build:gradle:4.1.0")
@@ -32,7 +32,6 @@ allprojects {
3232
}
3333

3434
google()
35-
jcenter()
36-
maven { url 'https://www.jitpack.io' }
35+
mavenCentral()
3736
}
3837
}

0 commit comments

Comments
 (0)