chore: 初始化 Android 工程骨架(Compose + Gradle 8.14/AGP 8.13.1)

This commit is contained in:
2026-09-10 09:36:55 +08:00
commit 2a90c18317
23 changed files with 555 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
// 插件仓库:仅 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")