title: Difference between build.gradle (Project) and build.gradle (Module)
body: <p>I am trying to add a dependency of Android Asynchronous Http Client into my project. So there are two <em>build.gradle</em> files in the project.</p>
  <p><img src="https://i.stack.imgur.com/5JXDS.jpg" alt="Enter image description here" /></p>
  <p>As per my understanding, there are different kind of dependencies:</p>
  <ol>
  <li>One which defined on the root level of <em>build.gradle</em> (Project:My-app)</li>
  <li>One inside the buildscript of the <em>build.gradle</em> (Project:My-app)</li>
  <li>Another is build.gradle (Modules:app)</li>
  </ol>
  <p><a href="https://stackoverflow.com/questions/13923766/gradle-buildscript-dependencies">This question</a> is about repositories for dependencies of the buildScript, explain a bit about first two types.</p>
  <p>Also build.gradle (Project:My-app) says</p>
  <pre class="lang-html prettyprint-override"><code>// NOTE: Do not place your application dependencies here; they belong
  // in the individual module build.gradle files
  </code></pre>
  
  <p>So I guess the dependency code of Android Asynchronous Http Client should be added in <em>build.gradle</em> (Module:app).</p>
  <p>How does it all fit together?</p>