title: Proguard ignores config file of library
body: <p>I'm facing a really weird problem for days now...</p>
  
  <p>I have a Gradle app with two modules, one main module and one library module.</p>
  
  <ul>
  <li>In both modules I have declared a proguard-rules.pro file path which is correct</li>
  <li>In both .gradle files I have minifyEnabled true</li>
  </ul>
  
  <p>here is the first problem: even if minifyEnabled is false in the library, it gets obfuscated. it has no effect at all and seems to depend on the main module's settings. I´m using proguard since a while now and I've never experienced such a behavior at all.</p>
  
  <p>Also, the proguard-rules.pro of the library seems to be completely ignored. It doesn't matter what I declare there, it is not used and the result is always the same (always decompiled to view result). It's obfuscated with the default settings.</p>
  
  <p>I've used an invalid proguard file name to see if the file is even touched, and indeed there are errors with the wrong name and it also complaines about syntax errors in the proguard file...</p>
  
  <p>I don't know if it is somehow related to an update of Android Studio, as it has also recommended me to use "minifyEnabled" instead of "runProguard".</p>
  
  <p>How can I manage proguard to use the proguard-rules.pro of the library too?</p>
  
  <p>Edit:</p>
  
  <p>I've made an sample project to clarify my problem</p>
  
  <p><img src="https://i.stack.imgur.com/iXvFF.png" alt="enter image description here"></p>
  
  <p>The proguard config of my library</p>
  
  <p><img src="https://i.stack.imgur.com/xjJfK.png" alt="enter image description here"></p>
  
  <p>The gradle of my library:</p>
  
  <p><img src="https://i.stack.imgur.com/zUk3Z.png" alt="enter image description here"></p>
  
  <p>And finally the <strong>result</strong> I always get. It doesn't matter what I exclude/include in the proguard config</p>
  
  <p><img src="https://i.stack.imgur.com/kX26g.png" alt="enter image description here"></p>
  
  <p>As you can see, the proguard rules work quite well on the main module. It does what it should. But it always fully obfuscates my library to a.a....</p>
  
  <p>It also has completely deleted the Activity of the Library, which shouldn't happen at all</p>