title: Gradle Multiproject jar doesnt include dependent classes
body: <p>This might be a silly question to ask but i m having some serious issues understanding gradle compile</p>
  
  <p>-Lets say i have i have project structure like this </p>
  
  <pre><code>proj-- pro1--src
             --build.gradle
      -- pro2--src
         --build.gradle
      --build.gradle
      --settings.gradle
  </code></pre>
  
  <p>and pro2 has 2 dependencies say log4j and pro1</p>
  
  <p>now when i try to run gradle jar task it generates a build directory containing the jar "pro2.jar"
  but it doesn't include the dependent classes of pro1 </p>
  
  <p>but in maven this works fine</p>
  
  <p>please help me out </p>
  
  <p>Thanks</p>