title: AppGallery Connect Dynamic Ability library exports incorrect Proguard rules that disables compiler optimizations
body: <p>I am trying out AppGallery Connect Dynamic Ability at the moment. I've found out that current Dynamic Ability library exports incorrect Proguard rules which disables compiler optimization. This causes large app size regression after compilation.</p>
  <p>The proguard rule in <code>com.huawei.hms.dynamicability:1.0.14.301</code> includes the following Proguard rules:</p>
  <pre><code>-dontshrink
  -keepattributes Signature, InnerClasses, EnclosingMethod, Exceptions
  </code></pre>
  <p>Is there any Dynamic Ability expert who can explain this? Any workaround to resolve this issue? I think the library need to be fixed.</p>
  <p>I don't think this is a good idea to export these Proguard rules. It looks like this library is accidentally shipping proguardFile and not consumerProguardFile. Thanks.</p>