feat: 切换阿里源
This commit is contained in:
parent
926a0255a3
commit
58e6aff497
|
|
@ -7,7 +7,7 @@ plugins {
|
|||
id("maven-publish")
|
||||
}
|
||||
group = "com.yuanxuan"
|
||||
version = "1.0.9"
|
||||
version = "1.0.10"
|
||||
|
||||
|
||||
val baseReleaseUrl: Provider<String> = providers.gradleProperty("baseReleaseUrl")
|
||||
|
|
|
|||
|
|
@ -1,13 +1,22 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
google {
|
||||
maven {
|
||||
url = uri("https://maven.aliyun.com/repository/google")
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
includeGroupByRegex("com\\.google.*")
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
|
||||
maven {
|
||||
url = uri("https://maven.aliyun.com/repository/gradle-plugin")
|
||||
}
|
||||
|
||||
maven {
|
||||
url = uri("https://maven.aliyun.com/repository/central")
|
||||
}
|
||||
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
|
@ -17,8 +26,9 @@ plugins {
|
|||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven { url = uri("https://maven.aliyun.com/repository/google") }
|
||||
|
||||
maven { url = uri("https://maven.aliyun.com/repository/central") }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue