Barber ProGuard rules

Barber – a custom view styling library for Android that generates the obtainStyledAttributes() and TypedArray boilerplate code.

This library is heavily influenced by Jake Wharton's Butter Knife library.

ProGuard rules for Barber

ProGuard typically reads the input jars and removes unused classes, fields, methods, and attributes. When obfuscating, ProGuard writes out class files named 'a.class', 'b.class', etc.

A ProGuard configuration is provided as part of the library.

-keep class **$$Barbershop { *; }
-keep class io.sweers.barber.** { *; }
-keepclasseswithmembers class * {
    @io.sweers.barber.* ;
}
-keepclasseswithmembers class * {
    @io.sweers.barber.* ;
}

For more information about Barber please see the website.

Static Gson ProGuard rules

Popular ProGuard rules