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

Document args()

This commit is contained in:
Cedric Beust 2017-01-05 12:27:32 -08:00
parent 29e002e42e
commit d5cf8844a7

View file

@ -332,6 +332,7 @@ test {
application {
mainClass = "com.beust.kobalt.wrapper.Main"
jvmArgs("-Djava.library.path=libs", "-Ddebug=true")
args("doc", "assemble")
}
</pre>
<p>
@ -340,12 +341,14 @@ application {
<pre class="brush:plain">
./kobaltw run
</pre>
<p>Here's the list of configuration parameters for the <code>application</code> directive:</p>
<p>The <code>application</code> directive supports the following parameters:</p>
<dl class="dl-horizontal">
<dt>mainClass</dt>
<dd>The class in your code that contains the <code>main</code> function.</dd>
<dt>args</dt>
<dd>Arguments to pass to the program.</dd>
<dt>jvmArgs</dt>
<dd>Arguments to pass to the JVM.</dd>
<dt>mainClass</dt>
<dd>The class in your code that contains the <code>main</code> function.</dd>
</dl>
<h2 class="section" id="apt">apt</h2>