add maven & gradle settings
update git ignore for java