spotify/ruler
Gradle plugin which helps you analyze the size of your Android apps. observed · 2026-08-28
Health v2 · maintenance only
24/100
- Activity 3
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1862
- days_rel: n/a
- days_push: 583
- n_releases_24m: 0
Adoption not part of the score
1220 stars · 61 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Ruler is a Gradle plugin from Spotify that analyzes the size of Android apps, breaking down how much each module and dependency contributes to total download and install size. It generates HTML and JSON reports and can optionally fail the build if size thresholds are exceeded.
Use cases
- analyze what contributes to my android app size
- find which gradle modules or dependencies make my apk large
- track app download size growth across builds
- enforce an app size budget in ci
- generate an app size breakdown report for an android bundle
- attribute apk size to third-party libraries
When to choose
- you build Android apps with Gradle and want per-module and per-dependency size attribution
- you want automated size verification with thresholds in your build pipeline
- you need HTML or JSON size reports for app bundles and APKs
When to avoid
- you need size analysis for iOS, desktop, or non-Gradle Android builds
- you want runtime performance profiling rather than app size analysis
- your project does not use the Android Gradle Plugin
Facets
plugin · maturity active
build-tool developer-tools analytics android-tools mobile-development developer-tools analytics jvm cli gradle-plugin app-size-analysis apk-size android-app-bundle size-reporting android
1 source
- readme: https://github.com/spotify/ruler · fetched 2026-08-28 · 422678ac16ee
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spotify/ruler | main | 24 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem