You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// settings.gradle (Groovy)
pluginManagement {
repositories {
// 默认的 Gradle 插件源,可以保留
gradlePluginPortal ( )
google ( )
mavenCentral ( )
// ==> 在这里添加国内镜像源 <==
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
}
}
dependencyResolutionManagement {
repositoriesMode . set ( RepositoriesMode . FAIL_ON_PROJECT_REPOS )
repositories {
// 默认的依赖库源,可以保留
google ( )
mavenCentral ( )
// ==> 在这里添加国内镜像源 <==
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
// 如果需要 JitPack, 也可以加上镜像
maven { url 'https://jitpack.io' }
}
}
rootProject . name = "MiCode Notes"
include ':app'