mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 03:57:11 -07:00
Style.
This commit is contained in:
parent
1941e80888
commit
7960c4a19b
1 changed files with 3 additions and 3 deletions
|
@ -249,20 +249,20 @@ dependencies {
|
||||||
Kobalt already knows the location of the most popular Maven repos (Maven Central, JCenter, JBoss) but you can add repos with the <code>repos()</code> directive:
|
Kobalt already knows the location of the most popular Maven repos (Maven Central, JCenter, JBoss) but you can add repos with the <code>repos()</code> directive:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre class="brush:plain">
|
||||||
val repos = repos("https://dl.bintray.com/cbeust/maven/")</pre>
|
val repos = repos("https://dl.bintray.com/cbeust/maven/")</pre>
|
||||||
<p>
|
<p>
|
||||||
By default, this directive takes URL's as strings, but you can also use local
|
By default, this directive takes URL's as strings, but you can also use local
|
||||||
files with the <code>files</code> directive:
|
files with the <code>files</code> directive:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre class="brush:plain">
|
||||||
val repos = repos(file("/some/local/directory"))</pre>
|
val repos = repos(file("/some/local/directory"))</pre>
|
||||||
<p>
|
<p>
|
||||||
The <code>homeDir()</code> directive can also come in handy when you want
|
The <code>homeDir()</code> directive can also come in handy when you want
|
||||||
to specify a directory starting at your home directory:
|
to specify a directory starting at your home directory:
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre class="brush:plain">
|
||||||
val repos = repos(file(homeDir("some/directory/in/your/home")))</pre>
|
val repos = repos(file(homeDir("some/directory/in/your/home")))</pre>
|
||||||
|
|
||||||
<h3 class="section" indent="1" id="maven-repos-authenticated">Authenticated repos</h3>
|
<h3 class="section" indent="1" id="maven-repos-authenticated">Authenticated repos</h3>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue