build.gradle
853 Bytes
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven { url 'http://nexus2.xiniunet.com:8081/nexus/content/groups/public/' }
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven {
url "$rootDir/rn/node_modules/react-native/android"
}
}
repositories {
maven { url 'http://nexus2.xiniunet.com:8081/nexus/content/groups/public/' }
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
}
}