一键导入
android-gradle
Gradle build configuration, dependency management, build variants, and optimization for Android projects using Kotlin DSL and version catalogs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Gradle build configuration, dependency management, build variants, and optimization for Android projects using Kotlin DSL and version catalogs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Continuously improves the project by checking docs (web, Context7, opencode), using LSPs for code context, monitoring skills/plugins/scripts, and adapting best practices.
Continuity management — preserves context, maintains thermal maps, and serializes states across sessions
Read diffs carefully, identify risks, and produce review feedback that is specific and actionable.
Write accurate docs, keep references current, and capture verified behavior only.
Branching, rebasing, commit hygiene, and review-friendly history for agency delivery.
Use the language server for precise navigation, symbol lookup, refactoring, and diagnostics.
| name | android-gradle |
| displayName | Gradle Build System |
| description | Gradle build configuration, dependency management, build variants, and optimization for Android projects using Kotlin DSL and version catalogs. |
| category | mobile |
| tags | ["android","gradle","kotlin-dsl","build-system","dependency-management"] |
| agents | ["android-kotlin","mobile-qa","devops-engineer"] |
| toolkit_refs | ["gradle"] |
libs.versions.toml)[versions]
agp = "8.7.0"
kotlin = "2.1.0"
compose-bom = "2025.05.00"
hilt = "2.52"
[libraries]
androidx-core = { group = "androidx.core", name = "core-ktx", version = "1.15.0" }
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
android {
buildTypes {
debug {
isDebuggable = true
applicationIdSuffix = ".debug"
}
release {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
signingConfig = signingConfigs.getByName("release")
}
}
flavorDimensions += "environment"
productFlavors {
create("staging") { dimension = "environment" }
create("production") { dimension = "environment" }
}
}
gradle server → run_task with :app:assembleDebugapp/build/outputs/apk/debug/gradle → run_task with :app:lintgradle → run_task with :app:dependencies--build-cache and --parallel flagsisMinifyEnabled only for release buildsimplementation over api to limit dependency leakage