SuperAPI AI 工具集

android-build-gradle

编程与开发

查看项目

更新于 10-15 21:40

技能介绍

用途:面向 Android(Kotlin)开发的 Gradle 构建系统参考技能,按任务定位相关文档并逐级查阅。用法:先根据任务从映射表中找到类别,再读取 references/{category}/README.md 定位具体页面,最后 Read 对应 .md 文件确认细节。目录含 SKILL.md 与 references/ 下的 build-config、dependencies、optimize-release、publish-library、migrate-troubleshoot 五类。

能力范围:build-config 覆盖 settings.gradle、根与模块 build.gradle、plugins/android/defaultConfig 块、buildTypes、productFlavors、buildFeatures、sourceSets、compileKotlinOptions、signingConfigs、packaging、testOptions、lint、gradle.properties/local.properties、multidex、原生 16KB 页大小、prefab 与 CMake 依赖。dependencies 覆盖依赖配置与坐标、仓库、version catalog、Compose BOM、依赖排除与查看、KSP 与 KAPT 对比、迁移到 catalog、变体专属依赖、依赖校验。optimize-release 覆盖代码与资源压缩、ProGuard 规则、R8 排错、App Bundle 与配置、APK splits、签名、baseline profiles、构建变体优化、发布清单、原生调试符号、动态功能模块。publish-library 覆盖库发布准备、publication variants、上传、test fixtures 发布、fused library。migrate-troubleshoot 覆盖构建提速、build cache 与 configuration cache、迁移到 KSP、迁移到 Kotlin DSL、AGP 升级助手、AGP/Gradle 版本兼容、JDK 配置、namespace 迁移、清单合并冲突、构建分析、依赖解析错误、迁移到内置 Kotlin、自定义构建逻辑、SDK 升级助手、AGP/Kotlin/D8/R8 兼容性。

限制:测试编写由 android-testing 负责,清单与资源规范由 android-platform-core 负责;未提供价格、平台与效果说明。