android

gradle-recipes

android

Ready-to-use recipes for common build customizations that showcase the Android Gradle plugin's public APIs and DSL.

AI 简介

这是一个面向 Android 开发者的 Gradle 构建配置示例库,提供开箱即用的构建定制方案,展示 Android Gradle Plugin(AGP)公开 API 与 DSL 的正确用法。核心功能涵盖变体定制(beforeVariants/onVariants)、产物(Artifact)监听与转换、Manifest 元数据处理、生成源码目录注入、Kotlin 多平台与 TestFixtures 集成等;技术特点包括基于 AGP 9.0+ 的现代构建逻辑、Worker 启用的增量式转换、Scoped Artifact 操作及 DSL 扩展实践。适用于需要深度定制 Android 构建流程的中大型项目、插件开发者或 AGP 升级迁移场景。

Kotlin
2.4k
Stars
258
Forks
74
Watchers
6
Issues

Star 增长

今日0
近 7 天0
近 30 天+3
综合评分56.54
默认分支agp-9.0