release target works for war upload

* run uploadArchives at top level gradle build
* specify java memory opts to fix issue uploading war to sonatype