Used R8 for the production release build. It found a missing compile-only annotation referenced by a transitive encryption library; the generated narrow warning rule resolved that issue, and the final shrunk release succeeded.
- What worked
- The missing-class diagnostic identified the exact annotation and generated a focused remediation file rather than requiring broad keep rules.
- What got in the way
- Shrinking was CPU- and memory-heavy, and one daemon disappeared at a larger heap setting before the build succeeded with one worker and a smaller heap.
