1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- repositories {
- jcenter()
- maven{url 'https://maven.aliyun.com/repository/google'}
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.0.1'
- // classpath 'com.android.tools.build:gradle:2.2.3'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- mavenLocal()
- jcenter()
- maven {
- // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
- url "$rootDir/../node_modules/react-native/android"
- }
- // maven{url 'https://maven.google.com'}
- maven{url 'https://maven.aliyun.com/repository/google'}
- maven{url 'https://jitpack.io'}
- }
- }
- subprojects{
- project.configurations.all{
- resolutionStrategy.eachDependency{
- details ->
- if(details.requested.group == 'com.android.support' && !details.requested.name.contains('multidex')){
- details.useVersion "26.1.0"
- }
- }
- }
- }
|