motif icon indicating copy to clipboard operation
motif copied to clipboard

Add proguard config for Creatable

Open kurtisnelson opened this issue 6 years ago • 1 comments

If a scope is only instantiated via the new Creatable method, proguard will strip the Impl with the current config. As a temporary workaround, all subclasses can be kept via:

-keep class * implements motif.Creatable {
    <init>(...);
}

However long-term the solution is to use -if to pair the impl with the kept state of the interface.

kurtisnelson avatar Apr 09 '20 22:04 kurtisnelson

wait didn't we add a test for this exact thing ?

andreasnomikos avatar Apr 10 '20 02:04 andreasnomikos