# krschultz/android-proguard-snippets

Proguard configurations for common Android libraries

Repository: https://github.com/krschultz/android-proguard-snippets
Canonical: https://ross.abutalabs.com/products/android-proguard-snippets
Homepage: http://www.kevinrschultz.com/blog/2014/02/15/proguard-with-gradle/
Language: IDL
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2019-03-18T18:32:36+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4698, "days_push": 2725, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4537, forks 585 (observed 2026-08-28T04:08:53.073131+00:00)

## What it is
A curated collection of example ProGuard configuration files for common Android libraries, meant to be combined with the official proguard-android.txt base config via Gradle. Each snippet contains only the rules needed for a specific library, contributed and updated by the community.

## Use cases
- fix proguard rules for gson in my android release build
- proguard configuration for google play services
- android app crashes after enabling minifyEnabled
- find keep rules for butterknife or eventbus
- set up proguard files per library in gradle
- example proguard rules for crashlytics and facebook sdk

## When to choose
- you are enabling R8/ProGuard minification on an Android project and need library-specific keep rules
- you hit runtime crashes or build warnings caused by obfuscation of a known Android library
- you want to keep per-library ProGuard rules in separate reusable files

## When to avoid
- you need rules for a library not in the collection and cannot contribute one
- you need actively maintained configs for modern libraries - the repo's last release was 2019 and many listed libraries are outdated
- you need a general ProGuard/R8 tutorial rather than ready-made snippets

## Facets
- artifact type: dataset
- maturity: maintenance
- function: developer-tools, build-tool, configuration-management
- domain: android-tools, mobile-development, developer-tools
- platform: -
- tags: proguard, android, code-minification, gradle, configuration-snippets, reference-collection, mobile

## Member repositories
- krschultz/android-proguard-snippets (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:53.073131+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:11.040196+00:00, confidence not recorded.
  - readme: https://github.com/krschultz/android-proguard-snippets (fetched 2026-08-28T04:08:53.073131+00:00, sha 3ddcaccf175e)
  - homepage: http://www.kevinrschultz.com/blog/2014/02/15/proguard-with-gradle/ (fetched 2026-08-29T09:05:54.648851+00:00, sha 6d0510362cc9)
  - site_page: http://www.kevinrschultz.com/about (fetched 2026-08-29T09:05:54.652487+00:00, sha 525851daf2cc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
