diff --git a/ten-minutes/index.html b/ten-minutes/index.html index 8e3e30d..2a6cd79 100644 --- a/ten-minutes/index.html +++ b/ten-minutes/index.html @@ -83,27 +83,27 @@ val project = kotlinProject { ... -

- Next, we want the manifest of our jar file to point to our main Kobalt plug-in class: -

+

+ Next, we need to create our plugin.xml file in the src/main/resources/META-INF directory. + Once there, it will be automatically copied in the right place in our jar file: +

-packaging {
-    jar {
-        manifest {
-            attributes("Kobalt-Plugin-Class", "com.beust.kobalt.plugin.linecount.Main")
-        }
-    }
-}
+<kobalt-plugin>
+    <name>kobalt-line-count</name>
+    <plugins>
+        <class-name>com.beust.kobalt.plugin.linecount.LineCountPlugin</class-name>
+    </plugins>
+</kobalt-plugin>
 
-

- Now we're ready to code. -

+

+ Now we're ready to code. +

-

- Let's start by writing the simplest plug-in we can: -

+

+ Let's start by writing the simplest plug-in we can: +

 package com.beust.kobalt.plugin.linecount