title: Android: Proguard rules for dependencies and modules
body: <p>I have a project with a couple of modules, some jar dependencies in libs folder and some some other gradle dependencies. I am trying to build a release apk with proguard enabled but i am getting a lot of warnings during the build process for certain dependencies. e.g this: </p>
  
  <pre><code>Warning:org.codehaus.jackson.jaxrs.JacksonJsonProvider: can't find superclass or interface javax.ws.rs.ext.MessageBodyReader 
  </code></pre>
  
  <p>Would someone please refer a guide on how to properly define rules for the dependencies. and do i need to add rules for the modules besides the <strong>app</strong> module. </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I have added the following rule to the app build.gradle file: </p>
  
  <pre><code>-keep interface org.codehaus.jackson.** { *; }
  -keep class org.codehaus.jackson.** { *; }
  </code></pre>
  
  <p>but i am still getting the warnings during build process. </p>