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 @@

General concepts

-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:
 
 
 
@@ -155,6 +155,9 @@ This is the simplest jar declaration you can have. You can trigger the creation
             include(from("modules/wrapper/$buildDirectory/libs"), to("kobalt/wrapper"),
                     "$projectName-wrapper.jar")
         }
+        war {
+            include(from("html"), to("web/static"), glob("*html"))
+        }
 

@@ -230,7 +233,40 @@ dependencies { ("groupId:artifactId:"). -

Maven repos

+

Settings

+

+ 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: +

+ + + + + + + + + + + + + + + + + + +
NameDefaultDescription
localRepo~/.kobalt/repositoryWhere Kobalt stores all the downloaded 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: