diff --git a/documentation/index.html b/documentation/index.html index 618a685..f0f6a1e 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -63,7 +63,7 @@
-The build file is typically called Built.kt
and it is a valid Kotlin file. It contains imports, the declaration of one or more projects and the declaration of additional configurations (e.g. packaging, publishing, etc...). Since it's a Kotlin file, it can also contain any class or function you need:
+The build file is located in kobalt/src/Built.kt
and it is a valid Kotlin file. It contains imports, the declaration of one or more projects and the declaration of additional configurations (e.g. packaging, publishing, etc...). Since it's a Kotlin file, it can also contain any class or function you need:
@@ -83,7 +83,7 @@ Here are a few noteworthy details about this small build file:
kobalt
which you can reuse further in your build file, should you ever need to.
-kotlinProject
and homeDir
are supplied by Kobalt and are referred to as "directives"
@@ -230,7 +233,40 @@ dependencies {
("groupId:artifactId:"
).
-
+ You can create settings that will apply to all your Kobalt builds by creating
+ a file in ~/.kobalt/settings.xml
:
+
+<kobalt-settings> + <localRepo>/Users/beust/my-kobalt-repo</localRepo> +</kobalt-settings> ++
+ Here is a list of the parameters you can configure: +
+Name | +Default | +Description | +
localRepo |
+ ~/.kobalt/repository |
+ Where Kobalt stores all the downloaded 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: