grails.views.gradle.json.JsonViewCompilerTask.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of views-gradle Show documentation
Show all versions of views-gradle Show documentation
Provides additional view technologies to the Grails framework, including JSON and Markup views.
package grails.views.gradle.json
import grails.views.gradle.AbstractGroovyTemplateCompileTask
import groovy.transform.CompileStatic
import org.gradle.api.tasks.Input
/**
* Concrete implementation that compiles JSON templates
*
* @author Graeme Rocher
*/
@CompileStatic
class JsonViewCompilerTask extends AbstractGroovyTemplateCompileTask {
@Input
@Override
String getFileExtension() {
"gson"
}
@Input
@Override
String getScriptBaseName() {
"grails.plugin.json.view.JsonViewTemplate"
}
@Input
@Override
protected String getCompilerName() {
"grails.plugin.json.view.JsonViewCompiler"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy