filterObfuscatedVariants

var filterObfuscatedVariants: (BaseVariant) -> Boolean

Variant filtering function. It should be overriden to tell LeakCanary for which obfuscated variants it should copy the mapping file into apk. For example this:

filterObfuscatedVariants { variant ->
variant.name == "debug"
}

means that debug variant should be deobfuscated by LeakCanary when displaying leaks.

Default value is false so no variant will have the obfuscation mapping file copied.