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

Update the settings doc.

This commit is contained in:
Cedric Beust 2016-07-20 23:05:47 -08:00
parent e45312b923
commit 6fdb7fb308

View file

@ -292,13 +292,13 @@ dependencies {
</p> </p>
<pre class="brush:plain"> <pre class="brush:plain">
&lt;kobalt-settings&gt; &lt;kobaltSettings&gt;
&lt;local-repo&gt;/Users/beust/my-kobalt-repo&lt;/local-repo&gt; &lt;localCache&gt;/Users/beust/my-kobalt-repo&lt;/localCache&gt;
&lt;default-repos&gt; &lt;defaultRepos&gt;
&lt;repo&gt;http://jcenter.com&lt;/repo&gt; &lt;repo&gt;http://jcenter.com&lt;/repo&gt;
&lt;repo&gt;http://example.com&lt;/repo&gt; &lt;repo&gt;http://example.com&lt;/repo&gt;
&lt;/default-repos&gt; &lt;/defaultRepos&gt;
&lt;/kobalt-settings&gt;</pre> &lt;/kobaltSettings&gt;</pre>
<p> <p>
Here is a list of the parameters you can configure: Here is a list of the parameters you can configure:
</p> </p>
@ -317,25 +317,30 @@ dependencies {
</thead> </thead>
<tr> <tr>
<td><code>default-repos</code></td> <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><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> <td>List of repos overriding the default ones that Kobalt uses.</td>
</tr> </tr>
<tr> <tr>
<td><code>kobalt-compiler-version</code></td> <td><code>kobaltCompilerVersion</code></td>
<td>1.0.0</td> <td>1.0.3</td>
<td>The version of the Kotlin compiler that Kobalt uses.</td> <td>The version of the Kotlin compiler that Kobalt uses.</td>
</tr> </tr>
<tr> <tr>
<td><code>kobalt-compiler-repo</code></td> <td><code>kobaltCompilerRepo</code></td>
<td>None</td> <td>None</td>
<td>The Maven repository where to find the compiler. By default, the compiler is looked up in the default repos (JCenter, Maven, ...).</td> <td>The Maven repository where to find the compiler. By default, the compiler is looked up in the default repos (JCenter, Maven, ...).</td>
</tr> </tr>
<tr> <tr>
<td><code>local-repo</code></td> <td><code>localCache</code></td>
<td><code>~/.kobalt/repository</code></td> <td><code>~/.kobalt/cache</code></td>
<td>Where Kobalt stores all the downloaded dependencies.</td> <td>Where Kobalt stores all the downloaded dependencies.</td>
</tr> </tr>
<tr>
<td><code>localMavenRepo</code></td>
<td><code>~/.kobalt/localMavenRepo</code></td>
<td>Where Kobalt publishes artifacts when the task <code>publishToLocalMaven</code> is invoked.</td>
</tr>
</table> </table>
<h2 class="section" id="templates">Templates</h2> <h2 class="section" id="templates">Templates</h2>