deleted iterable and custom iterator files from java module and moved to java module in gradle scala sample project