title: Include jars files from the sub folders in gradle
body: <p>We maintain different folders to keep all the jars.</p>
  
  <p>Ex: </p>
  
  <pre><code>Repo
  \-- lib
      \-- test
          \-- junit.jar
      \-- hibernate
          \-- hibernate.jar
  </code></pre>
  
  <p>I used the bellow code.</p>
  
  <pre><code>repositories {
      flatDir {dirs "../Repo/lib/*"}      
  }
  </code></pre>
  
  <p>If I put all the jars in lib it works fine. But If I put it in different folders it give the compilation error.</p>
  
  <p>I tried with this</p>
  
  <pre><code>repositories {
          flatDir {dirs "../Repo/lib/**"}     
      }
  </code></pre>
  
  <p>Please guide me.</p>