mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-26 04:17: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
|
You can create settings that will apply to all your Kobalt builds by creating
|
||||||
a file in <code>~/kobalt/settings.xml</code>:
|
a file in <code>~/kobalt/settings.xml</code>:
|
||||||
</p>
|
</p>
|
||||||
<pre class="brush:plain">
|
<pre class="brush:plain">
|
||||||
<kobalt-settings>
|
<kobalt-settings>
|
||||||
<localRepo>/Users/beust/my-kobalt-repo</localRepo>
|
<localRepo>/Users/beust/my-kobalt-repo</localRepo>
|
||||||
</kobalt-settings>
|
<default-repos>
|
||||||
</pre>
|
<repo>http://jcenter.com</repo>
|
||||||
<p>
|
<repo>http://example.com</repo>
|
||||||
Here is a list of the parameters you can configure:
|
</default-repos>
|
||||||
</p>
|
</kobalt-settings></pre>
|
||||||
<table style="font-size: 14px" class="table table-striped">
|
<p>
|
||||||
<colgroup>
|
Here is a list of the parameters you can configure:
|
||||||
<col span="1" style="width: 25%;">
|
</p>
|
||||||
<col span="1" style="width: 25%;">
|
<table style="font-size: 14px" class="table table-striped">
|
||||||
<col span="1" style="width: 50%;">
|
<colgroup>
|
||||||
</colgroup>
|
<col span="1" style="width: 25%;">
|
||||||
<thead>
|
<col span="1" style="width: 25%;">
|
||||||
<tr>
|
<col span="1" style="width: 50%;">
|
||||||
<td>Name</td>
|
</colgroup>
|
||||||
<td>Default</td>
|
<thead>
|
||||||
<td>Description</td>
|
<tr>
|
||||||
</tr>
|
<td>Name</td>
|
||||||
</thead>
|
<td>Default</td>
|
||||||
<tr>
|
<td>Description</td>
|
||||||
<td><code>localRepo</code></td>
|
</tr>
|
||||||
<td><code>~/.kobalt/repository</code></td>
|
</thead>
|
||||||
<td>Where Kobalt stores all the downloaded dependencies.</td>
|
|
||||||
</tr>
|
<tr>
|
||||||
</table>
|
<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>
|
<h2 class="section" id="templates">Templates</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue