Hsoy Templates Plugin

  • Tags : /
  • Latest : 0.3
  • Last Updated: 21 January 2013
  • Grails version : 2.0 > *
1 vote
Dependency :
compile ":hsoy-templates:0.3"
Custom repositories :
mavenRepo "http://maven.the6hours.com/release/"

Documentation Source


Grails plugin for Hsoy Templates (Google Closure Templates with HAML syntax)


grails install-plugin hsoy-templates


Plugin Sources: https://github.com/splix/grails-hsoy-templates

Hsoy Tempaltes is server-side and client-side templates, compiled into Java and JavaScript, and having Haml syntax. See https://github.com/splix/hsoy-templates


Add dependency into BuildConfig.groovy:

plugins {
    compile ":hsoy-templates:0.3"

Put your .hsoy files into web-app/hsoy/ (like web-app/hsoy/myapp.hsoy) directory, and configure resources as:

templates {
    dependsOn 'soyutils'
    resource url: '/hsoy/myapp.hsoy', attrs:[type:'js']