mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 03:57:11 -07:00
Document new settings.xml <default-repos>.
This commit is contained in:
parent
cedb6ea7f9
commit
93f242ddd2
1 changed files with 34 additions and 25 deletions
|
@ -237,33 +237,42 @@ dependencies {
|
|||
You can create settings that will apply to all your Kobalt builds by creating
|
||||
a file in <code>~/kobalt/settings.xml</code>:
|
||||
</p>
|
||||
<pre class="brush:plain">
|
||||
<pre class="brush:plain">
|
||||
<kobalt-settings>
|
||||
<localRepo>/Users/beust/my-kobalt-repo</localRepo>
|
||||
</kobalt-settings>
|
||||
</pre>
|
||||
<p>
|
||||
Here is a list of the parameters you can configure:
|
||||
</p>
|
||||
<table style="font-size: 14px" class="table table-striped">
|
||||
<colgroup>
|
||||
<col span="1" style="width: 25%;">
|
||||
<col span="1" style="width: 25%;">
|
||||
<col span="1" style="width: 50%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Default</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td><code>localRepo</code></td>
|
||||
<td><code>~/.kobalt/repository</code></td>
|
||||
<td>Where Kobalt stores all the downloaded dependencies.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<default-repos>
|
||||
<repo>http://jcenter.com</repo>
|
||||
<repo>http://example.com</repo>
|
||||
</default-repos>
|
||||
</kobalt-settings></pre>
|
||||
<p>
|
||||
Here is a list of the parameters you can configure:
|
||||
</p>
|
||||
<table style="font-size: 14px" class="table table-striped">
|
||||
<colgroup>
|
||||
<col span="1" style="width: 25%;">
|
||||
<col span="1" style="width: 25%;">
|
||||
<col span="1" style="width: 50%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Default</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tr>
|
||||
<td><code>localRepo</code></td>
|
||||
<td><code>~/.kobalt/repository</code></td>
|
||||
<td>Where Kobalt stores all the downloaded dependencies.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>defaultRepos</code></td>
|
||||
<td><a href="https://github.com/cbeust/kobalt/blob/master/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt#L10">Default repos</a></td>
|
||||
<td>List of repos overriding the default ones that Kobalt uses.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h2 class="section" id="templates">Templates</h2>
|
||||
<p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue