1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-26 04:17: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 { application {
mainClass = "com.beust.kobalt.wrapper.Main" mainClass = "com.beust.kobalt.wrapper.Main"
jvmArgs("-Djava.library.path=libs", "-Ddebug=true") jvmArgs("-Djava.library.path=libs", "-Ddebug=true")
args("doc", "assemble")
} }
</pre> </pre>
<p> <p>
@ -340,12 +341,14 @@ application {
<pre class="brush:plain"> <pre class="brush:plain">
./kobaltw run ./kobaltw run
</pre> </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"> <dl class="dl-horizontal">
<dt>mainClass</dt> <dt>args</dt>
<dd>The class in your code that contains the <code>main</code> function.</dd> <dd>Arguments to pass to the program.</dd>
<dt>jvmArgs</dt> <dt>jvmArgs</dt>
<dd>Arguments to pass to the JVM.</dd> <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> </dl>
<h2 class="section" id="apt">apt</h2> <h2 class="section" id="apt">apt</h2>