Wire Protocol Buffers ProGuard rules

Wire Protocol Buffers – is a clean, lightweight protocol buffers for Android and Java.

Whether your application is storing data to disk or transmitting it over a network, the structure and interpretation of that data should be clear.

ProGuard rules for Wire Protocol Buffers

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

# Wire Protocol Buffers
-keep class com.squareup.wire.** { *; }
-keep class com.yourcompany.yourgeneratedcode.** { *; }

For more information about please see Wire Protocol Buffers website.

Static Gson ProGuard rules

Popular ProGuard rules