|
@@ -10,6 +10,15 @@ buildscript {
|
|
|
}
|
|
|
repositories {
|
|
|
// maven{ url = "https://maven.aliyun.com/repository/public/" }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/central' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/jcenter' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/google' }
|
|
|
+ maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
|
|
+ maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
|
|
|
+ maven { url 'https://jitpack.io' } // 为github的依赖提供
|
|
|
+ maven { url 'https://mirrors.cloud.tencent.com/nexus/repository/maven-public/' }
|
|
|
google()
|
|
|
mavenCentral()
|
|
|
}
|
|
@@ -23,6 +32,15 @@ buildscript {
|
|
|
allprojects {
|
|
|
repositories {
|
|
|
//maven{ url = "https://maven.aliyun.com/repository/public/" }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/central' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/jcenter' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/google' }
|
|
|
+ maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
|
|
+ maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases' }
|
|
|
+ maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
|
|
|
+ maven { url 'https://jitpack.io' } // 为github的依赖提供
|
|
|
+ maven { url 'https://mirrors.cloud.tencent.com/nexus/repository/maven-public/' }
|
|
|
maven {
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
|
url("$rootDir/../node_modules/react-native/android")
|