mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Constants.
This commit is contained in:
parent
6323079b63
commit
1ac4896717
2 changed files with 10 additions and 2 deletions
|
@ -8,10 +8,14 @@ import com.beust.kobalt.plugin.KobaltPlugin
|
|||
* Template that generates a Kobalt plug-in project.
|
||||
*/
|
||||
class KobaltPluginTemplate : ITemplateContributor {
|
||||
val pluginTemplate = object: JarTemplate("templates/kobaltPlugin/kobaltPlugin.jar") {
|
||||
companion object {
|
||||
val NAME = "kobaltPlugin"
|
||||
}
|
||||
|
||||
val pluginTemplate = object: JarTemplate(ITemplateContributor.DIRECTORY_NAME + "/" + NAME) {
|
||||
override val templateDescription = "Generate a sample Kobalt plug-in project"
|
||||
|
||||
override val templateName = "kobaltPlugin"
|
||||
override val templateName = NAME
|
||||
|
||||
override val pluginName = KobaltPlugin.PLUGIN_NAME
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue