Skip to content

Commit

Permalink
Reference maven repo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raymyers committed May 3, 2013
1 parent a88dc56 commit 3da0c2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ Is is possible to use the related project Sass/SCSS from Java by using JRuby. Em

## Using

The project is available in a maven repo. To include with gradle:

repositories {
mavenCentral()
mavenRepo url: "https://raw.github.com/raymyers/raymyers-mvn-repo/master/releases"
}
dependencies {
compile group: 'com.cadrlife.jhaml', name: 'jhaml', version: '0.1.7'
}

Then parse Haml to HTML from code:

String html = new JHaml().parse("some haml");

There is a Grails plugin, Haml4Grails, that can be used to generate GSPs on the fly from Haml views. Integration with Spring MVC 3 and other Java frameworks is being explored. The biggest barrier is taglib support. Contact me (Ray) if interested.
Expand Down

0 comments on commit 3da0c2c

Please sign in to comment.