Fixed template to match Java syntax (forgot ';').
Added configuration to build with Gradle.