Update release script for new project structure

Update the release script for new project structure, and use gradle instead of ant