diff --git a/documentation/index.html b/documentation/index.html index b403142..3a5c084 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -275,16 +275,20 @@ $ ./kobaltw --tasks Notice the new "coverage" task, provided by the plug-in kobalt-example-plugin that we just included. With the simple action of declaring the plug-in, it is now fully loaded and available right away. Of course, such plug-ins can allow or require additional configuration with their own directives. Please read the plug-in developer documentation for more details. -

+

Multiple projects

+

You can specify more than one project in a build file, simply by declaring them: +

 val p1 = javaProject { ... }
 val p2 = kotlinProject { ... }
 
-If some of your projects need to be built in a certain order, you can specify this when you create your project. For example: +

+If some of your projects need to be built in a certain order, you can specify dependencies when you create your project. For example: +

 val p2 = kotlinProject(p1) { ... }
@@ -304,6 +308,68 @@ You can also run tasks for a specific project only as follows:
 
 This will run the assemble task only for the p2, instead of running it for all projects.
 
+

Command line

+ +

+Here are the options that you can pass to ./kobaltw: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDetails
--buildFileFileSpecify a build file.Use this option if you are trying to build a project that's not in the current directory.
--checkVersionsBooleanDisplay all the new versions of your dependencies.This option looks at all the dependencies found in your build file and then contacts all the Maven repositories in order to find out if any of these repos contains a newer version. If any are found, they are displayed: +
+$ ./kobaltw --checkVersions
+New versions found:
+       com.beust:klaxon:0.14
+       org.testng:testng:6.9.5
+      
+
--initBooleanInitialize a project for Kobalt.This option will create a build file in the current directory (unless one already exists) and will install the Kobalt wrapper.
--logInteger (0..3)Specify the log level.The default level is 1. Level 0 will quiet everything and 2 and 3 will display increasingly verbose output.
--tasksBooleanList the tasks available.Note that the available tasks will vary depending on which projects are in your build file.
+ +

Publishing