updated the gradle script to include deploy to tomcat task