From 803caaaadd58a437ff02cadab0b0e11a3243db33 Mon Sep 17 00:00:00 2001
From: Cedric Beust
-
kotlinProject
or dependencies
. These functions typically configure some data that your plug-in will later use to perform its functions.
- The plugin.xml
file (stored in META-INF
in the jar file of your plug-in) is mandatory and describes all the components of your plug-in. At a minimum,
+ The kobalt-plugin.xml
file (stored in META-INF
in the jar file of your plug-in) is mandatory and describes all the components of your plug-in. At a minimum,
this file will contain the name of your plug-in and the main plug-in class:
@@ -100,7 +100,7 @@In order to make things more concrete, let's take a look at - Kobalt's own
plugin.xml
+ Kobalt's ownkobalt-plugin.xml
and go over it line by line.plugins (
diff --git a/ten-minutes/index.html b/ten-minutes/index.html index 2a6cd79..4809e49 100644 --- a/ten-minutes/index.html +++ b/ten-minutes/index.html @@ -84,7 +84,7 @@ val project = kotlinProject {IPlugin
)
- Next, we need to create our plugin.xml
file in the src/main/resources/META-INF
directory.
+ Next, we need to create our kobalt-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: