google/secrets-gradle-plugin
A Gradle plugin for providing your secrets to your Android project. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
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: 2045
- days_rel: n/a
- days_push: 736
- n_releases_24m: 0
Adoption not part of the score
1282 stars · 123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Gradle plugin by Google that injects secrets from a properties file (like local.properties) not checked into version control into BuildConfig fields and the Android manifest. It helps keep API keys out of source control in Android projects.
Use cases
- hide api keys from version control in an android app
- inject secrets into buildconfig at build time
- read keys from local.properties in gradle
- keep maps api key out of git
- share secrets across android library modules
When to choose
- you build Android apps with Gradle and need to keep API keys out of git
- you want secrets exposed as BuildConfig variables or manifest placeholders
When to avoid
- you need secrets truly protected in the shipped APK - keys in BuildConfig are still recoverable by decompiling
- your project is not an Android Gradle project
Facets
plugin · maturity stable
secrets-management build-tool security android-tools developer-tools security jvm gradle-plugin android buildconfig api-keys local-properties gradle
1 source
- readme: https://github.com/google/secrets-gradle-plugin · fetched 2026-08-28 · ed4050df8e80
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/secrets-gradle-plugin | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="google/secrets-gradle-plugin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem