diff --git a/documentation/index.html b/documentation/index.html index 171c78a..828c2b1 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -178,26 +178,26 @@ Here are a few noteworthy details about this small build file:

Directives

-Now that we have declared a project, we can use it to configure additional steps of our build, such as the packaging: +Now that we have declared a project, we can use it to configure additional steps of our build, such as the assembling it (creating jar and other files:

-import com.beust.kobalt.plugin.packaging.packaging
+import com.beust.kobalt.plugin.packaging.assemble
 
 // ...
 
-val packKobalt = packaging(kobalt) {
+val packKobalt = assemble(kobalt) {
     jar {
     }
 }
 

-This is the simplest jar declaration you can have. You can trigger the creation of this jar file by invoking the task "assemble". Note that we passed the kobalt variable to the packaging function, so we make it clear which project we are currently configuring for packaging. The jar directive accepts various settings, so let's be a bit more specific. And let's add a zip file too: +This is the simplest jar declaration you can have. You can trigger the creation of this jar file by invoking the task "assemble". Note that we passed the kobalt variable to the assemble function, so we make it clear which project we are currently configuring for packaging. The jar directive accepts various settings, so let's be a bit more specific. And let's add a zip file too:

-val packKobalt = packaging(kobalt) {
+val assembleKobalt = assemble(kobalt) {
     jar {
         fatJar = true
         manifest {