1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- ext {
- buildToolsVersion = "30.0.2"
- minSdkVersion = 21
- compileSdkVersion = 31
- targetSdkVersion = 31
- ndkVersion = "21.4.7075529"
- }
- 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()
- }
- dependencies {
- classpath("com.android.tools.build:gradle:4.2.2")
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- 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")
- }
- maven {
- // Android JSC is installed from npm
- url("$rootDir/../node_modules/jsc-android/dist")
- }
- mavenCentral {
- // We don't want to fetch react-native from Maven Central as there are
- // older versions over there.
- content {
- excludeGroup "com.facebook.react"
- }
- }
- google()
- maven { url 'https://www.jitpack.io' }
- }
- }
|