diff --git a/documentation/index.html b/documentation/index.html index b95f217..6e44d76 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -75,36 +75,6 @@
-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 -} -
diff --git a/home/index.html b/home/index.html index f70555a..d7135b5 100644 --- a/home/index.html +++ b/home/index.html @@ -70,7 +70,41 @@
Kobalt is a build system heavily inspired from Gradle and entirely written in Kotlin. It's focused on offering an intuitive DSL and plug-in architecture, fast builds and build file auto completion from your favorite IDE. +
+ ++For example, here is JCommander's entire 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 +} +
provided
).