gradle: use huawei as main maven repository

This commit is contained in:
PeratX 2019-10-09 17:44:35 +08:00
parent 3c70f8fdba
commit 5c18b413b3

View File

@ -2,8 +2,8 @@ buildscript {
ext.kotlin_version = '1.3.50' ext.kotlin_version = '1.3.50'
repositories { repositories {
jcenter()
google() google()
maven { url "https://mirrors.huaweicloud.com/repository/maven/" }
} }
dependencies { dependencies {
@ -16,11 +16,8 @@ allprojects {
version = "1.0" version = "1.0"
repositories { repositories {
jcenter()
mavenCentral()
google() google()
maven { url "https://mirrors.huaweicloud.com/repository/maven/" } maven { url "https://mirrors.huaweicloud.com/repository/maven/" }
maven { url "http://repo.maven.apache.org/maven2" }
} }
apply from: rootProject.file('dependencies.gradle') apply from: rootProject.file('dependencies.gradle')