diff --git a/documentation/index.html b/documentation/index.html index f25a7e4..e5d521e 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -249,9 +249,22 @@ dependencies { Kobalt already knows the location of the most popular Maven repos (Maven Central, JCenter, JBoss) but you can add repos with the repos() directive:

-
-val repos = repos("https://dl.bintray.com/cbeust/maven/")
-
+
+val repos = repos("https://dl.bintray.com/cbeust/maven/")
+

+ By default, this directive takes URL's as strings, but you can also use local + files with the files directive: +

+ +
+val repos = repos(file("/some/local/directory"))
+

+ The homeDir() directive can also come in handy when you want + to specify a directory starting at your home directory: +

+
+val repos = repos(file(homeDir("some/directory/in/your/home")))
+

Authenticated repos

If one of your repos requires basic authentication, you can supply its credentials