title: How to exclude a classes from being kept by proguard
body: <p>I added the following line in my proguard config:</p>
  
  <pre><code> -keep class com.mypackage.** {*;}
  </code></pre>
  
  <p>But now proguard doesn't remove my class <code>com.mypackage.BuildConfig.class</code> from the result. And I want it to be removed.</p>
  
  <p>How can I exclude a given class from being kept?</p>
  
  <p>Thanks</p>