mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-24 19:47:11 -07:00
Reformat
This commit is contained in:
parent
bda4b0e66b
commit
7db92fe117
1 changed files with 128 additions and 114 deletions
|
@ -709,15 +709,19 @@ Here are the options that you can pass to <code>./kobaltw</code>:
|
|||
<td>File</td>
|
||||
<td>kobalt/src/Build.kt</td>
|
||||
<td>Specify a build file.</td>
|
||||
<td>Use this option if you are trying to build a project whose <code>Build.kt</code> is not in <code>kobalt/src</code>.</td>
|
||||
<td>Use this option if you are trying to build a project whose <code>Build.kt</code> is not in
|
||||
<code>kobalt/src</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><span style="white-space:nowrap">--checkVersions</span></code></td>
|
||||
<td>Boolean</td>
|
||||
<td>false</td>
|
||||
<td>Display all the new versions of your dependencies.</td>
|
||||
<td>This option looks at all the dependencies found in your build file and then contacts all the Maven repositories in order to find out if any of these repos contains a newer version. If any are found, they are displayed:
|
||||
<pre class="brush:plain">
|
||||
<td>This option looks at all the dependencies found in your build file and then contacts all the Maven
|
||||
repositories in order to find out if any of these repos contains a newer version. If any are found, they are
|
||||
displayed:
|
||||
<pre class="brush:plain">
|
||||
$ ./kobaltw --checkVersions
|
||||
New versions found:
|
||||
com.beust:klaxon:0.14
|
||||
|
@ -730,7 +734,9 @@ New versions found:
|
|||
<td>Boolean</td>
|
||||
<td>false</td>
|
||||
<td>Whenever dependencies are resolved, their sources and Javadoc are downloaded as well.</td>
|
||||
<td>Mostly useful when used with <code>--resolve</code> or when Kobalt is launched in <code>--server</code> mode. </td>
|
||||
<td>Mostly useful when used with <code>--resolve</code> or when Kobalt is launched in <code>--server</code>
|
||||
mode.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--dryRun</code></td>
|
||||
|
@ -744,21 +750,26 @@ New versions found:
|
|||
<td>Comma-separated strings of template names.</td>
|
||||
<td>null</td>
|
||||
<td>Initialize a project for Kobalt with the given templates.</td>
|
||||
<td>The parameter to this argument is a list of template names separated by commas, e.g. <code>"java,myProject"</code>. Each template will be invoked in order so they can generate their files.</td>
|
||||
<td>The parameter to this argument is a list of template names separated by commas, e.g.
|
||||
<code>"java,myProject"</code>. Each template will be invoked in order so they can generate their files.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><span style="white-space:nowrap">--listTemplates</span></code></td>
|
||||
<td></td>
|
||||
<td>N/A</td>
|
||||
<td>List all the templates available.</td>
|
||||
<td>Templates displayed by this command can then be passed as an argument to the <code>--init</code> parameter.</td>
|
||||
<td>Templates displayed by this command can then be passed as an argument to the <code>--init</code> parameter.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--log</code></td>
|
||||
<td>Integer (0..3)</td>
|
||||
<td>1</td>
|
||||
<td>Specify the log level.</td>
|
||||
<td>The default level is 1. Level 0 will quiet everything and 2 and 3 will display increasingly verbose output.</td>
|
||||
<td>The default level is 1. Level 0 will quiet everything and 2 and 3 will display increasingly verbose
|
||||
output.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><span style="white-space:nowrap">--noIncremental</span></code></td>
|
||||
|
@ -766,7 +777,8 @@ New versions found:
|
|||
<td>false</td>
|
||||
<td>Turn off incremental builds.</td>
|
||||
<td>If this flag is specified, Kobalt will run all the tasks, even those that are incremental and would have
|
||||
been skipped.</td>
|
||||
been skipped.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>--plugins</code></td>
|
||||
|
@ -808,7 +820,9 @@ New versions found:
|
|||
<td>Boolean</td>
|
||||
<td>false</td>
|
||||
<td>Update Kobalt to the latest version available.</td>
|
||||
<td>Use this flag if Kobalt just notified you that a new version is available and you want to update. Another way of doing this is to edit <code>kobalt/wrapper/kobalt-wrapper.properties</code> manually.</td>
|
||||
<td>Use this flag if Kobalt just notified you that a new version is available and you want to update. Another
|
||||
way of doing this is to edit <code>kobalt/wrapper/kobalt-wrapper.properties</code> manually.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue