Replicated the snippet for Java in the folder for Groovy snippets (yasnippet@Emacs).
Modified Gradle build command in order to specify UTF-8 for source file encodings
(It seems that specifying options.encoding=UTF-8 directly in Gradle build file doesn't work
in my Windows envirionment ; It's worth a test on Linux) yasnippet@Emacs