Skip to content

Commit f578894

Browse files
Use mavenCentral instead of jscenter for Android example app (#317)
* Use full address for maven in build.gradle According to: react-native-camera/react-native-camera#2490 (comment) the fix for failing build with maven issues is to use the full address of jitpack. This commit changes it to example build.gradle. * Use mavenCentral instead of JCenter
1 parent d14d619 commit f578894

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

example/android/build.gradle

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

3434
google()
35-
jcenter()
36-
maven { url 'https://jitpack.io' }
35+
mavenCentral()
36+
maven {
37+
url 'https://maven.google.com/'
38+
name 'Google'
39+
}
3740
}
3841
}

0 commit comments

Comments
 (0)