diff --git a/documentation/index.html b/documentation/index.html index ce946b3..9cf7d44 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -244,7 +244,7 @@ dependencies { }

Maven repos

- +

Unauthenticated repos

Kobalt already knows the location of the most popular Maven repos (Maven Central, JCenter, JBoss) but you can add repos with the repos() directive:

@@ -252,7 +252,28 @@ Kobalt already knows the location of the most popular Maven repos (Maven Central
 val repos = repos("https://dl.bintray.com/cbeust/maven/")
 
- +

Authenticated repos

+

+ If one of your repos requires basic authentication, you can supply its credentials + in your local.properties file by specifying keys and values following the format: +

+
+authUrl.{host}.username=xxx
+authUrl.{host}.password=xxx
+
+

+ Note that the host is just the host name portion of the URL (excluding "http://", + port number, slash and path). For example, for the repo + "https://dl.bintray.com/cbeust/maven/", the credentials would be: +

+
+authUrl.dl.bintray.com.username=xxx
+authUrl.dl.bintray.com.password=xxx
+
+

+ If only one of username or password is specified, + the build will abort with an error. +

Using plug-ins