android/gradle-recipes resource
Ready-to-use recipes for common build customizations that showcase the Android Gradle plugin's public APIs and DSL. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2319
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
2362 stars · 260 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of ready-to-use recipe projects maintained by Google that demonstrate the Android Gradle Plugin's public APIs and DSL for common build customizations. Each recipe is a minimal working example (artifact transforms, variant handling, generated sources, manifest edits), with dedicated branches matching specific AGP versions.
Use cases
- customize android builds with the gradle plugin api
- transform classes or manifest during an android gradle build
- add a generated source folder with agp
- create a custom build type using the agp dsl
- android gradle plugin variant api examples
- disable or select variants with beforeVariants
- migrate legacy gradle tasks to the agp artifact api
When to choose
- You're extending the Android Gradle Plugin and need working sample code for a specific API like artifact transformation or variant customization
- You want examples that match an exact AGP version by switching to its agp-* branch
- You're migrating build logic from legacy task bridging to AGP's components/variant APIs
When to avoid
- You need a production-ready plugin or library to drop into your build rather than example code
- You're looking for general Gradle build tutorials that don't involve Android
- You need reference documentation of AGP APIs instead of runnable demonstrations, or you require a permissively licensed codebase, since no license is declared in the repo metadata
Facets
learning-resource · maturity active
build-tool sdk developer-tools plugin-system mobile-development developer-tools tutorials jvm cli android-gradle-plugin agp gradle sample-code build-customization variant-api artifact-api dsl kotlin google-maintained license-unspecified android mobile
1 source
- readme: https://github.com/android/gradle-recipes · fetched 2026-08-28 · 316638523812
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| android/gradle-recipes | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="android/gradle-recipes")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem