turned into a java gradle sample project