Moved project from ant to gradle