Created
June 22, 2015 15:59
-
-
Save frangarcia/b4b877031cd945090d48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Grapes( | |
@Grab(group='de.inetsoftware', module='jlessc', version='1.1') | |
) | |
import com.inet.lib.less.* | |
String lessContent = new File("example.less")?.text | |
Long time1 = new Date().time | |
String css = Less.compile( null, lessContent, true ); | |
Long time2 = new Date().time | |
println css | |
println "Total time = ${time2 - time1} milliseconds" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment