What problem does it solve?
Analyzes Android build files and R8 keep rules to identify redundancies, broad package-wide rules, and rules that subsume library consumer keep rules. Use when developers want to optimize their app's size, remove redundant or overly broad keep rules, or troubleshoot Proguard configurations.
Core Features & Use Cases
- Analyze R8 configuration by inspecting build.gradle/build.gradle.kts, gradle.properties, and proguard/consumer rules using the references guidance to identify redundant or overly broad rules.
- Evaluate rules against the KEEP-RULES-IMPACT-HIERARCHY.md to prioritize impact and propose targeted refinements.
- Detect subsuming or conflicting keep rules and provide actionable guidance on narrowing rules via the REFLECTION-GUIDE.md.
Quick Start
Run the analyzer on your Android project to identify redundant and broad keep rules and review the suggested refinements