updated gradle buildfile for WAR compilation - ready to deploy to AWS