mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-31 11:30:16 +08:00
gradle: use huawei as main maven repository
This commit is contained in:
parent
3c70f8fdba
commit
5c18b413b3
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user