diff --git a/documentation/index.html b/documentation/index.html index bd1edf0..96e02dd 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -74,6 +74,37 @@
+ +

+Curious to see what a Kobalt build file looks like? Here is JCommander's entire Kobalt build file: +

+ +
+import com.beust.kobalt.*
+import com.beust.kobalt.plugin.java.*
+import com.beust.kobalt.plugin.packaging.*
+import com.beust.kobalt.plugin.publish.*
+
+val jcommander = javaProject {
+    name = "jcommander"
+    group = "com.beust"
+    artifactId = name
+    version = "1.52"
+
+    dependenciesTest {
+        compile("org.testng:testng:6.9.5")
+    }
+}
+
+val a = assemble(jcommander) {
+    mavenJars {
+    }
+}
+
+val j = jcenter(jcommander) {
+    publish = false
+}
+

Downloading and installing Kobalt