I wish to remove a class A with the following signature
package com.example
class A : Base {}
from a thirdpartylib.aar
that comes with its own set of proguard/r8 rules one of which is
-keep public class * extends com.example.Base
however I wish to remove a class A since I know this wouldn't be used. How do I achieve this override.
The rule below doesn't work, since whyareyoukeeping
emits the rule above.
-keep class !com.example.A
I'm trying to figure out if there is a priority to proguard rules. Is it possible to declare a rule as higher priority? Thanks in advance.