title: How to declare common dependencies in multimodule gradle project on parent folder
body: <p>I've multi-module gradle project. Let's say project <code>parent</code> has modules <code>module1</code> and <code>module2</code>. </p>
  
  <p>I have included both the modules in <code>settings.gradle</code> in the parent project as well.</p>
  
  <p>When I declare the common dependencies in <code>build.gradle</code> of parent project, both the project is not compiling but when I add the dependencies in <code>build.gradle</code> of each module then the modules are compiling successfully. </p>
  
  <p>Any Idea how can I do this.</p>