r8-analyzer
Installation
SKILL.md
Step 1. Setup and configuration check
- Inspect
build.gradle,build.gradle.kts, andgradle.properties. - Use references/CONFIGURATION.md to identify missing optimizations.
- AGP : If < 9.0, suggest migration to 9.0 for build time improvement performance
- Full Mode : Verify
android.enableR8.fullMode=falseis removed from gradle.properties.
Step 2. Analysis path selection
-
Inspect
build.gradle,build.gradle.kts, andgradle.propertiesandlibs.versions.tomlto get the R8 version -
If R8 >= 9.3.7-dev : Proceed to Path A (Quantitative).
-
If R8 < 9.3.7-dev : Proceed to Path B (Heuristic).