How do I build the root module of a gradle project?
<p>I have created a gradle project with sub-modules:
service
--clojure
--api</p>

<p>I don't have any source files in the root directory, and I don't need it to be build into a jar as it is just a root directory for a repository.</p>

<p>If I was using maven I would have set packaging to pom for the root module:</p>

<pre><code>&lt;packaging&gt;pom&lt;/packaging&gt;
</code></pre>

<p>However, I don't know how to set similar configuration in gradle.</p>

<p>I know there is no harm in having the root module built, but I would like to somehow configure which modules are built into archives and which are not.</p>

<p>Is there someway to instruct gradle to build archives for the sub-module, only?</p>

<p>Thanks in advance</p>