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 version is lower than 9.0, suggest migration to 9.0 for build-time performance improvement.
- 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 AGP and R8 versions. -
If AGP >= 9.3.0 : Proceed to Path A (Standalone Task).
-
If AGP < 9.3.0 and R8 >= 9.3.7-dev : Proceed to Path B (Quantitative).
-
If none of the conditions are met, proceed to Path C (Heuristic).