Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit ef8d620

Browse files
committed
Re-order android repositories
1 parent b194e67 commit ef8d620

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
2-
id "maven-publish"
32
id "com.android.library"
3+
id "maven-publish"
44
}
55

66
android {
@@ -13,17 +13,17 @@ android {
1313
}
1414

1515
repositories {
16-
google()
17-
jcenter()
18-
mavenCentral()
19-
2016
if (project == rootProject) {
2117
maven { url "https://a8c-libs.s3.amazonaws.com/android/react-native-mirror" }
2218
} else {
2319
// When building as a dep, the RN's maven repo is locally in the node_modules folder
2420
def nodeModulesPath = "${project.buildDir}/../../node_modules/"
2521
maven { url "${nodeModulesPath}/react-native/android" }
2622
}
23+
24+
google()
25+
jcenter()
26+
mavenCentral()
2727
}
2828

2929
dependencies {

0 commit comments

Comments
 (0)