All Downloads are FREE. Search and download functionalities are using the official Maven repository.

grails.views.gradle.markup.MarkupViewCompilerTask.groovy Maven / Gradle / Ivy

Go to download

Provides additional view technologies to the Grails framework, including JSON and Markup views.

There is a newer version: 4.0.0-M1
Show newest version
package grails.views.gradle.markup

import grails.views.gradle.AbstractGroovyTemplateCompileTask
import groovy.transform.CompileStatic
import org.gradle.api.tasks.Input

/**
 * MarkupView compiler task for Gradle
 *
 * @author Graeme Rocher
 * @since 1.0
 */
@CompileStatic
class MarkupViewCompilerTask extends AbstractGroovyTemplateCompileTask {

    @Input
    @Override
    String getFileExtension() {
        "gml"
    }

    @Input
    @Override
    String getScriptBaseName() {
        "grails.plugin.markup.view.MarkupViewTemplate"
    }

    @Input
    @Override
    protected String getCompilerName() {
        "grails.plugin.markup.view.MarkupViewCompiler"
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy