[KongchangAI]
ProductJetpack Keep

Jetpack Keep

A Jetpack library introduced by Google that automatically generates precise keep rules through annotations and a Gradle plugin. It reduces manual maintenance and improves the effectiveness of R8 optimization.

Timeline (last 90 days)

Oct 30

Jetpack Keep consists of a Gradle plugin and an annotation library; at build time it analyzes all reflection behavior within methods via lint, automatically generates annotations, and then generates keep rules from the annotations.

Unverified50%
Oct 30

Jetpack Keep requires AGP 8.7 and can be applied to apps, Android libraries, AARs, KMP libraries and jars; even if consumers use older versions of R8 or third-party tools, the library still exports standard consumer rules and does not introduce incompatible formats.

Unverified50%

All Facts (2)

Source Articles