阿里的repositories配置第二,适用于gradle8.0
pluginManagement {
repositories {
maven ("https://maven.aliyun.com/repository/public")
maven ("https://maven.aliyun.com/repository/google")
maven ("https://maven.aliyun.com/repository/gradle-plugin")
maven ("https://jitpack.io")
mavenCentral()
google()
jcenter()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven ("https://maven.aliyun.com/repository/public")
maven ("https://maven.aliyun.com/repository/google")
maven ("https://maven.aliyun.com/repository/gradle-plugin")
maven ("https://jitpack.io")
mavenCentral()
google()
jcenter()
}
}
rootProject.name = "MemoSystem"
include(":app")