Files
ring-health-app/settings.gradle.kts

27 lines
757 B
Kotlin

// 插件仓库:仅 google 的插件走 google()(按 group 过滤),其余走 Maven Central / 插件门户。
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
// 依赖仓库统一在此声明,禁止各模块自行声明仓库(FAIL_ON_PROJECT_REPOS)。
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "ring-health-app"
include(":app")