41 lines
1.5 KiB
Groovy
41 lines
1.5 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
buildscript {
|
||
repositories {
|
||
gradlePluginPortal()
|
||
|
||
// MavenCentral 远程仓库:https://mvnrepository.com
|
||
mavenCentral()
|
||
google()
|
||
// noinspection JcenterRepositoryObsolete
|
||
jcenter()
|
||
// 阿里云云效仓库:https://maven.aliyun.com/mvn/guide
|
||
maven { url 'https://maven.aliyun.com/repository/public' }
|
||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||
// 华为开源镜像:https://mirrors.huaweicloud.com
|
||
maven { url 'https://repo.huaweicloud.com/repository/maven' }
|
||
// JitPack 远程仓库:https://jitpack.io
|
||
maven { url 'https://jitpack.io' }
|
||
}
|
||
dependencies {
|
||
classpath 'com.android.tools.build:gradle:3.4.1'
|
||
}
|
||
}
|
||
|
||
allprojects {
|
||
repositories {
|
||
|
||
// MavenCentral 远程仓库:https://mvnrepository.com
|
||
mavenCentral()
|
||
google()
|
||
// noinspection JcenterRepositoryObsolete
|
||
jcenter()
|
||
// 阿里云云效仓库:https://maven.aliyun.com/mvn/guide
|
||
maven { url 'https://maven.aliyun.com/repository/public' }
|
||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||
// 华为开源镜像:https://mirrors.huaweicloud.com
|
||
maven { url 'https://repo.huaweicloud.com/repository/maven' }
|
||
// JitPack 远程仓库:https://jitpack.io
|
||
maven { url 'https://jitpack.io' }
|
||
}
|
||
}
|