added a basic java gradle file that can be added to a java subproject.