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
-}
-

Downloading and installing Kobalt

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 @@

Overview

+ +

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
+}
+

Design goals

@@ -79,6 +113,7 @@ Kobalt is a build system heavily inspired from Gradle and entirely written in Ko
  • Auto completion from the IDE (possibly enhanced by a soon-to-come thin Kobalt IDE plug-in to present suggestions ordered more sensibly).
  • Reusing all the good ideas from Gradle, such as the DSL and the wrapper.
  • Fast builds. +
  • Support all scopes (including provided).
  • Streamlining the build file, applying "convention over configuration" as much as possible (for example, to install a plug-in, Gradle forces you to both declare it and apply it. With Kobalt, the simple act of declaring a dependency on it installs the plug-in).
  • A turnkey solution with all the common plug-ins pre-installed. No need to go hunting through dozens of outdated results for the elusive JCenter plug-in: with Kobalt, you can create a package and upload it to JCenter within ten minutes. See for yourself!.
  • An agnostic build tool. Kobalt can be used to build Kotlin and Java projects today but it's capable to build anything: any language (JVM or not) or platform (Android, Spring, ...).