From 3388f8e6e28721b38a1970e721052f8948c19f90 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 5 Oct 2015 22:54:45 -0700 Subject: [PATCH] s/packaging/assemble. --- documentation/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 {