Sketch ProGuard rules

Sketch – is a powerful and comprehensive image loader on Android, with support for GIF, gesture zooming, block display super large image.

ProGuard rules for Sketch

ProGuard renames classes and class members that are not entry points. By default ProGuard obfuscates class names and may shrink classes, which are not used. Use the following ProGuard-style specification for your configuration file.

# Sketch
-dontwarn me.xiaopan.sketch.drawable.SketchGifDrawableImpl
-dontwarn me.xiaopan.sketch.drawable.SketchGifDrawableImpl$1
-keep public class * implements me.xiaopan.sketch.Initializer

-keep public class pl.droidsonroids.gif.GifIOException{(int, java.lang.String);}

-keep class me.xiaopan.sketch.gif.BuildConfig
-keep class pl.droidsonroids.gif.GifDrawable

For more information about Sketch please see the website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules