1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 12:07:10 -07:00

Update packaging doc.

This commit is contained in:
Cedric Beust 2015-12-25 07:53:07 -08:00
parent 422e256bc1
commit 3e4c9eeb08

View file

@ -388,6 +388,15 @@ jcenter {
"${kobalt.name}/${kobalt.version}/${kobalt.name}-${kobalt.version}.zip")
}
</pre>
<p>
If all you want is upload your project in Maven form, just add the following to the <code>assemble</code> section of your build file:
</p>
<pre class="brush:java">
mavenJars {}
</pre>
<p>
This directive <a href="#mavenJars">is described here</a> and is a shortcut to upload all the files that are required in a Maven repo (jar file, javadocs, source files and POM file).
</p>
<p>
The <code>jcenter</code> directive accepts the following parameters: