mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 03:57:11 -07:00
DOc update.
This commit is contained in:
parent
740e9be62f
commit
00ad7eefb8
1 changed files with 19 additions and 0 deletions
|
@ -91,6 +91,25 @@ val project = kotlinProject {
|
||||||
version = "0.1"
|
version = "0.1"
|
||||||
...
|
...
|
||||||
</pre>
|
</pre>
|
||||||
|
<p>
|
||||||
|
We also need to add Kobalt as a dependency, so let's find out what the latest version of the
|
||||||
|
jar file:
|
||||||
|
</p>
|
||||||
|
<pre class="brush:plain">
|
||||||
|
$ ./kobaltw --resolve com.beust:kobalt:
|
||||||
|
+======================================================================+
|
||||||
|
| com.beust:kobalt: |
|
||||||
|
| https://jcenter.bintray.com/com/beust/kobalt/0.335/kobalt-0.335.jar |
|
||||||
|
+======================================================================+</pre>
|
||||||
|
<p>
|
||||||
|
<p>
|
||||||
|
Note that the Maven id above doesn't specify a version (it ends with a colon), which means
|
||||||
|
Kobalt will resolve it to the latest version it can find.Let's add this version in our dependencies:
|
||||||
|
</p>
|
||||||
|
<pre class="brush:java">
|
||||||
|
dependencies {
|
||||||
|
compile("com.beust:kobalt:0.335")
|
||||||
|
}</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Next, we need to create our <code>kobalt-plugin.xml</code> file in the <code>src/main/resources/META-INF</code> directory.
|
Next, we need to create our <code>kobalt-plugin.xml</code> file in the <code>src/main/resources/META-INF</code> directory.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue