title: Do not optimize a specific class path with Proguard
body: <p>I try to implement Amazon In App Purchase in my android application. Amazons <a href="https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs/code-obfuscation#Setting%20Up%20Code%20Obfuscation%20for%20your%20Project" rel="nofollow noreferrer">documentation</a> requires to specify -dontoptimize in the proguard rules.</p>
  
  <p>The -dontoptimize rule is a global option which will turn off all optimization, but I do want to optimize the other code. So my question is how to specify the proguard rules to only not optimize the Amazon iap code?</p>
  
  <p>It seems that the -keep rule is not enough. This question is related to this <a href="https://stackoverflow.com/questions/11070143/how-to-set-up-proguard-for-amazon-iap">SO answer</a>
  but I am asking for a way to keep the optimizations for the rest of the code while allowing 
  Amazon IAP to work.</p>