From 00ad7eefb8fd5a6d0cfba5d0cf30f0be467a4c29 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sun, 13 Dec 2015 07:47:03 -0800 Subject: [PATCH] DOc update. --- ten-minutes/index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ten-minutes/index.html b/ten-minutes/index.html index 4cb2da5..7c1e488 100644 --- a/ten-minutes/index.html +++ b/ten-minutes/index.html @@ -91,6 +91,25 @@ val project = kotlinProject { version = "0.1" ... +

+ We also need to add Kobalt as a dependency, so let's find out what the latest version of the + jar file: +

+
+$ ./kobaltw --resolve com.beust:kobalt:
++======================================================================+
+|                           com.beust:kobalt:                          |
+|  https://jcenter.bintray.com/com/beust/kobalt/0.335/kobalt-0.335.jar |
++======================================================================+
+

+

+ Note that the Maven id above doesn't specify a version (it ends with a colon), which means + Kobalt will resolve it to the latest version it can find.Let's add this version in our dependencies: +

+
+    dependencies {
+        compile("com.beust:kobalt:0.335")
+    }

Next, we need to create our kobalt-plugin.xml file in the src/main/resources/META-INF directory.