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

Doc updates.

This commit is contained in:
Cedric Beust 2015-12-13 04:14:27 +04:00
parent 31969fa4dc
commit bd0625bf4c

View file

@ -100,9 +100,9 @@ val project = kotlinProject {
<pre class="brush:xml">
&lt;kobalt-plugin&gt;
&lt;name&gt;kobalt-line-count&lt;/name&gt;
&lt;plugins&gt;
&lt;plugin-actors&gt;
&lt;class-name&gt;com.beust.kobalt.plugin.linecount.LineCountPlugin&lt;/class-name&gt;
&lt;/plugins&gt;
&lt;/plugin-actors&gt;
&lt;/kobalt-plugin&gt;
</pre>
@ -136,9 +136,9 @@ public class Main : BasePlugin() {
$ ./kobaltw uploadJcenter
...
========== kobalt-line-count:uploadJcenter
kobalt-line-count: Found 2 artifacts to upload
All artifacts successfully uploaded
############# Time to Build: 3590 ms
Found 12 artifacts to upload:
Uploading 12 / 12 |............|
BUILD SUCCESSFUL (15 seconds)
</pre>
<p>
@ -200,10 +200,9 @@ Created /Users/beust/kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count
========== kobalt-line-count:generatePom
Wrote /Users/beust/kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.2.pom
========== kobalt-line-count:uploadJcenter
kobalt-line-count: Found 2 artifacts to upload
All artifacts successfully uploaded
Time to Build: 5907 ms
Found 12 artifacts to upload:
Uploading 12 / 12 |............|
BUILD SUCCESSFUL (15 seconds)
</pre>
<p>
@ -241,7 +240,8 @@ Found 4972 lines in 65 files
</pre>
<p>
And that's it! You can now iterate on your plug-in and upload it with additional <code>./kobaltw uploadJcenter</code>. This plug-in is <a href="https://github.com/cbeust/kobalt-linecount">available on github</a>.
And that's it! You can now iterate on your plug-in and upload it with additional <code>./kobaltw uploadJcenter</code>. This plug-in is <a href="https://github.com/cbeust/kobalt-linecount">available on github</a>. Note that the plug-in in the repo
illustrates a few other concepts not discussed here, such as adding dynamic tasks, so I encourage you take a look at its source.
</p>
<h2 class="section" id="initialization">Initialization</h2>