package com.beust.kobalt.app

import com.beust.kobalt.api.ITemplateContributor
import com.beust.kobalt.api.JarTemplate
import com.beust.kobalt.plugin.KobaltPlugin

/**
 * Template that generates a Kobalt plug-in project.
 */
class KobaltPluginTemplate : ITemplateContributor {
    val pluginTemplate = object: JarTemplate("templates/kobaltPlugin.jar") {
        override val templateDescription = "Generate a sample Kobalt plug-in project"

        override val templateName = "kobalt-plugin"

        override val pluginName = KobaltPlugin.PLUGIN_NAME
    }

    override val templates = listOf(pluginTemplate)
}

package com.beust.kobalt.app

import com.beust.kobalt.api.ITemplateContributor
import com.beust.kobalt.api.JarTemplate
import com.beust.kobalt.plugin.KobaltPlugin

/**
 * Template that generates a Kobalt plug-in project.
 */
class KobaltPluginTemplate : ITemplateContributor {
    val pluginTemplate = object: JarTemplate("templates/kobaltPlugin.jar") {
        override val templateDescription = "Generate a sample Kobalt plug-in project"

        override val templateName = "kobaltPlugin"

        override val pluginName = KobaltPlugin.PLUGIN_NAME
    }

    override val templates = listOf(pluginTemplate)
}

Rename the template for consistency.
Rename the template for consistency.

ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt,evanchooly/kobalt,ethauvin/kobalt,evanchooly/kobalt,ethauvin/kobalt,evanchooly/kobalt,cbeust/kobalt,evanchooly/kobalt,cbeust/kobalt