title: Prevent a directory from proguard obfuscation
body: <p>I have gone through several stackoverflow posts regarding proguard obfuscation</p>
  
  <p><a href="https://stackoverflow.com/questions/4830474/how-to-keep-exclude-a-particular-package-path-when-using-proguard">How to keep/exclude a particular package path when using proguard?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7721397/how-to-make-proguard-ignore-external-libraries">How to make Proguard ignore external libraries?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/24057009/how-to-exclude-specific-jars-from-injars-during-obfuscation-using-proguard">How to exclude specific jars from injars during obfuscation using proguard?</a></p>
  
  <p>But I did not find answer to exclude a particular directory to prevented from obfuscation.</p>
  
  <p>Directory structure:</p>
  
  <pre><code>libs 
        =&gt; lib1
                 =&gt; a.b.c.package
                              A.java
                              B.java
        =&gt; lib2
                 =&gt; d.e.f.package
                              C.java
                              D.java
        =&gt; lib3
                =&gt; g.h.i.package 
                              E.java
                              F.java
  </code></pre>
  
  <p>Instead of adding multiple lines in <code>-keep</code> option with each package name, I would like to exclude entire <strong>libs</strong> package from obfuscation. </p>
  
  <p>Is there any way to stop obfuscation of a particular directory <strong>libs</strong> as shown below?</p>
  
  <p>And is there a way to exclude java run time classes from obfuscation? </p>