adding template.gradle for java-project