title: How to configure multi modules gradle build such that a module is built last
body: <p>I have a multi modules gradle build as follow</p>
  
  <pre><code>root \
      moduleA \
      moduleB \
      moduleC \
  </code></pre>
  
  <p>where <code>moduleB</code> depends on <code>moduleA</code>.</p>
  
  <p>I want <code>moduleB</code> to be built last regardless whether <code>moduleB</code> depends on <code>moduleC</code>or not. Is there a way to do that?</p>