title: Android studio proguard not working for library aar even if minifyenabled true
body: <p>I have a Gradle app with 1 library aar project and few flavours, I am trying to implement proguard for library project.</p>
  
  <p>I have declared proguard-rules.pro file as well as proguard-library.pro file. I have minifyenabled true, useproguard true but Proguard does not seem to work. I am using Android studio 2.1.2 with a gradle wrapper 2.10.</p>
  
  <p>I also followed steps from the link below but did not work, <a href="https://stackoverflow.com/questions/26983248/proguard-ignores-config-file-of-library/27052696#27052696">Proguard ignores config file of library</a></p>
  
  <p>Can someone help to get proguard to run for my library aar project.</p>
  
  <p>Edited:
  I am just testing if proguard works for debug or not, My gradle file is as below:</p>
  
  <p>Edited debug code below:</p>
  
  <pre><code>defaultConfig {
       proguardFiles 'proguard-library.pro'
       consumerProguardFiles 'proguard-rules.pro'
       ...
       ...
  }
  
  buildTypes{
  
  
  debug {
          minifyEnabled true
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          ....
          ...
          }
  
  }
  </code></pre>