Otto ProGuard rules

Otto - event bus designed to decouple different parts of your application while still allowing them to communicate efficiently.

Forked from Guava, Otto adds unique functionality to an already refined event bus as well as specializing it to the Android platform.

ProGuard rules for Otto

Add the following lines to your ProGuard configuration proguard.cfg file in project.

-keepattributes *Annotation*
-keepclassmembers class ** {
    @com.squareup.otto.Subscribe public *;
    @com.squareup.otto.Produce public *;
}

For more information about Otto please see the website.

Static Gson ProGuard rules

Popular ProGuard rules